Template:Place: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Place data template | Place data template | ||
</noinclude> | |||
{{#cargo_declare: | {{#cargo_declare: | ||
_table=Places | |_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}}}]] | |||
}} | |||
'''Notes:''' | |||
{{{Notes|}}} | |||
== | {{#if:{{{Latitude}}}{{{Longitude}}}| | ||
{{{ | '''Map:''' | ||
[https://www.openstreetmap.org/?mlat={{{Latitude}}}&mlon={{{Longitude}}} View on OpenStreetMap] | |||
}} | |||