Template:POI: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- ===== | <!-- ===== Semantic storage (hidden) ===== --> | ||
{{#set: | {{#set: | ||
Has name={{{name|}}} | Has name={{{name|}}} | ||
|Has POI type={{{ | |Has POI type={{{type|}}} | ||
|Has latitude={{{latitude|}}} | |Has latitude={{{latitude|}}} | ||
|Has longitude={{{longitude|}}} | |Has longitude={{{longitude|}}} | ||
|Has elevation={{{elevation|}}} | |Has elevation={{{elevation|}}} | ||
|Has address={{{address|}}} | |||
|Has town={{{town|}}} | |||
|Has country={{{country|}}} | |||
|Has short description={{{short_description|}}} | |||
|Has description={{{description|}}} | |||
|Has version={{{version|}}} | |Has version={{{version|}}} | ||
|Has language={{{language|}}} | |Has language={{{language|}}} | ||
}} | }} | ||
{{#arraymap:{{{ | {{#arraymap:{{{routes|}}}|,|x|{{#set:Is on route=x}}|}} | ||
{{#arraymap:{{{tags|}}}|,|x|{{#set:Has tag=x}}|}} | {{#arraymap:{{{tags|}}}|,|x|{{#set:Has tag=x}}|}} | ||
[[Category:POI]] | [[Category:POI]] | ||
<!-- ===== | <!-- ===== Display (Wikipedia-style) ===== --> | ||
{{#if:{{{primary_image|}}}| | |||
[[File:{{{primary_image}}}|thumb|right|300px|{{{name}}}]] | |||
{{#if:{{{ | |||
[[File:{{{ | |||
}} | }} | ||
<p><strong>{{{ | <p><strong>{{{name}}}</strong> is a {{{type|point of interest}}}{{#if:{{{town|}}}| in {{{town}}}}}{{#if:{{{country|}}}|, {{{country}}}}}.</p> | ||
{{#if:{{{short_description|}}}| | {{#if:{{{short_description|}}}| | ||
| Line 39: | Line 35: | ||
}} | }} | ||
== Overview == | == Overview == | ||
{{{description}}} | {{{description}}} | ||
{{{ | == Location == | ||
* Coordinates: {{{latitude}}}, {{{longitude}}} | |||
{{#if:{{{elevation|}}}|* Elevation: {{{elevation}}} m}} | |||
{{#if:{{{address|}}}|* Address: {{{address}}}}} | |||
{{#if:{{{town|}}}|* Town: {{{town}}}}} | |||
{{#if:{{{country|}}}|* Country: {{{country}}}}} | |||
{{#if:{{{routes|}}}|* Routes: {{{routes}}}}} | |||
{{#if:{{{tags|}}}|* Tags: {{{tags}}}}} | |||
<!-- Way-specific sections will be appended below manually or via system --> | |||
{{{way_sections|}}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
POI | Canonical POI template for ManyWays product records. | ||
Fields: | |||
name | name | ||
type | |||
short_description | short_description | ||
description | description | ||
primary_image | |||
latitude | latitude | ||
longitude | longitude | ||
elevation | elevation | ||
address | |||
tags | town | ||
country | |||
routes (comma separated) | |||
tags (comma separated) | |||
version | version | ||
language | language | ||
way_sections | way_sections | ||
</noinclude> | </noinclude> | ||
Revision as of 13:52, 11 January 2026
Canonical POI template for ManyWays product records.
Fields: name type short_description description primary_image latitude longitude elevation address town country routes (comma separated) tags (comma separated) version language way_sections