Jump to content

Template:Place: Difference between revisions

From Costa Sano MediaWiki
No edit summary
Tag: Manual revert
No edit summary
 
(8 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
  |title=String
  |Code=Page
  |code=String
  |Parent=Page
  |parent=Page
  |Label=String
  |type=String
  |Type=String
  |address=String
  |Address=String
  |latitude=Float
  |Latitude=Float
  |longitude=Float
  |Longitude=Float
  |notes=Text
  |Notes=Text
}}
}}
</noinclude>


{{#cargo_store:
{{#cargo_store:
  title={{{title|}}}
  |Code={{FULLPAGENAME}}
  |code={{PAGENAME}}
  |Parent={{{Parent|}}}
  |parent={{{parent|}}}
  |Label={{{Label|}}}
  |type={{{type|}}}
  |Type={{{Type|}}}
  |address={{{address|}}}
  |Address={{{Address|}}}
  |latitude={{{latitude|}}}
  |Latitude={{{Latitude|}}}
  |longitude={{{longitude|}}}
  |Longitude={{{Longitude|}}}
  |notes={{{notes|}}}
  |Notes={{{Notes|}}}
}}
}}


== {{{title|}}} ==
== {{{Label|}}} ==
{{DISPLAYTITLE:{{{Label}}}}}


{{DISPLAYTITLE:{{{title}}}}}
{{#if:{{{Parent|}}}|
 
'''Parent place:''' [[{{{Parent}}}]]
{{#if:{{{parent|}}}|Parent place: [[{{{parent}}}]]}}
}}


'''Notes:'''
'''Notes:'''
{{{notes|}}}
{{{Notes|}}}


'''Map:'''
{{#if:{{{Latitude}}}{{{Longitude}}}|
{{#if:{{{latitude}}}{{{longitude}}}|
'''Map:''' 
[https://www.openstreetmap.org/?mlat={{{latitude}}}&mlon={{{longitude}}} View on OpenStreetMap]
[https://www.openstreetmap.org/?mlat={{{Latitude}}}&mlon={{{Longitude}}} View on OpenStreetMap]
}}
}}

Latest revision as of 15:17, 16 February 2026

Place data template


This template defines the table "Places". View table.


Notes:


Map: View on OpenStreetMap