Jump to content

Template:Place: Difference between revisions

From Costa Sano MediaWiki
No edit summary
No edit summary
 
(16 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
}}
 
{{#cargo_store:
|Code={{FULLPAGENAME}}
|Parent={{{Parent|}}}
|Label={{{Label|}}}
|Type={{{Type|}}}
|Address={{{Address|}}}
|Latitude={{{Latitude|}}}
|Longitude={{{Longitude|}}}
|Notes={{{Notes|}}}
}}
}}


{{#forminput:form=Place}}
== {{{Label|}}} ==
</noinclude>
{{DISPLAYTITLE:{{{Label}}}}}


{{#cargo_store:
{{#if:{{{Parent|}}}|
title={{{title|}}}
'''Parent place:''' [[{{{Parent}}}]]
|code={{PAGENAME}}
|parent={{{parent|}}}
|type={{{type|}}}
|address={{{address|}}}
|latitude={{{latitude|}}}
|longitude={{{longitude|}}}
|notes={{{notes|}}}
}}
}}


== {{{title|}}} ==
'''Notes:'''
{{{Notes|}}}
 
{{#if:{{{Latitude}}}{{{Longitude}}}|
'''Map:''' 
[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