Template:Place: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Place data template | Place data template | ||
</noinclude> | </noinclude> | ||
{{#cargo_declare: | |||
|_table=Places | |||
|Code=Page | |||
|Parent=Page | |||
|Label=String | |||
|Type=String | |||
|Address=String | |||
|Latitude=Float | |||
|Longitude=Float | |||
|Notes=Text | |||
}} | |||
{{#cargo_store: | {{#cargo_store: | ||
|Code={{FULLPAGENAME}} | |||
| | |Parent={{{Parent|}}} | ||
| | |Label={{{Label|}}} | ||
| | |Type={{{Type|}}} | ||
| | |Address={{{Address|}}} | ||
| | |Latitude={{{Latitude|}}} | ||
| | |Longitude={{{Longitude|}}} | ||
| | |Notes={{{Notes|}}} | ||
}} | }} | ||
== {{{ | == {{{Label|}}} == | ||
{{DISPLAYTITLE:{{{Label}}}}} | |||
{{#if:{{{Parent|}}}| | |||
'''Parent place:''' [[{{{Parent}}}]] | |||
{{#if:{{{ | }} | ||
'''Notes:''' | '''Notes:''' | ||
{{{ | {{{Notes|}}} | ||
{{#if:{{{Latitude}}}{{{Longitude}}}| | |||
{{#if:{{{ | '''Map:''' | ||
[https://www.openstreetmap.org/?mlat={{{ | [https://www.openstreetmap.org/?mlat={{{Latitude}}}&mlon={{{Longitude}}} View on OpenStreetMap] | ||
}} | }} | ||