Template:POI: Difference between revisions
(Created page with "<includeonly> <!-- ===================== --> <!-- Semantic annotations --> <!-- ===================== --> [[Has name::{{{name|}}}]] {{#if:{{{poi_type|}}}|[[Has POI type::{{{poi_type}}}]]}} {{#if:{{{latitude|}}}|[[Has latitude::{{{latitude}}}]]}} {{#if:{{{longitude|}}}|[[Has longitude::{{{longitude}}}]]}} {{#if:{{{elevation|}}}|[[Has elevation::{{{elevation}}}]]}} {{#arraymap:{{{route_ids|}}}|,|x|Is on route::x|,}} {{#arraymap:{{{tags|}}}|,|x|Has tag::x|,}} {...") |
No edit summary |
||
| Line 24: | Line 24: | ||
<!-- ===================== --> | <!-- ===================== --> | ||
<div class=" | <div class="poi-profile"> | ||
<div class="poi-header"> | |||
<div class="poi-image"> | |||
{{#if:{{{image|}}}| | |||
[[File:{{{image}}}|600px]] | |||
}} | |||
</div> | |||
<div class="poi-header-text"> | |||
<h1>{{{name|{{PAGENAME}}}}}</h1> | <h1>{{{name|{{PAGENAME}}}}}</h1> | ||
<p class="poi-type">{{{poi_type}}}</p> | |||
{{#if:{{{ | {{#if:{{{short_description|}}}| | ||
<p | <p class="poi-short-description">{{{short_description}}}</p> | ||
}} | }} | ||
{{#if:{{{ | </div> | ||
< | |||
}} | </div> | ||
<div class="poi-meta"> | |||
<ul> | |||
<li><strong>Coordinates:</strong> {{{latitude}}}, {{{longitude}}}</li> | |||
{{#if:{{{elevation|}}}|<li><strong>Elevation:</strong> {{{elevation}}} m</li>}} | |||
{{#if:{{{route_ids|}}}|<li><strong>Routes:</strong> {{{route_ids}}}</li>}} | |||
{{#if:{{{tags|}}}|<li><strong>Tags:</strong> {{{tags}}}</li>}} | |||
</ul> | |||
</div> | |||
{{#if:{{{ | {{#if:{{{description|}}}| | ||
< | <div class="poi-description"> | ||
<h2>Overview</h2> | |||
{{{description}}} | |||
</div> | |||
}} | }} | ||
{ | <div class="poi-way-sections"> | ||
{{{way_sections|}}} | |||
</div> | |||
</div> | </div> | ||
| Line 54: | Line 74: | ||
<noinclude> | <noinclude> | ||
Public POI profile template. | |||
Parameters | Parameters: | ||
- name | - name | ||
- poi_type | - poi_type | ||
- short_description | |||
- description | |||
- image (filename) | |||
- latitude | - latitude | ||
- longitude | - longitude | ||
- elevation | - elevation | ||
- route_ids (comma separated | - route_ids (comma separated) | ||
- tags | - tags | ||
- version | - version | ||
- language | - language | ||
- way_sections (raw template calls) | |||
</noinclude> | </noinclude> | ||
Revision as of 12:06, 11 January 2026
Public POI profile template.
Parameters:
- name - poi_type - short_description - description - image (filename) - latitude - longitude - elevation - route_ids (comma separated) - tags - version - language - way_sections (raw template calls)