Jump to content

Template:Place: Difference between revisions

From Costa Sano MediaWiki
Created page with "<noinclude> Place data template {{#cargo_declare: _table=Places |title=String |code=String |parent=Page |type=String |latitude=Float |longitude=Float |notes=Text }} {{#forminput:form=Place}} </noinclude> {{#cargo_store: title={{{title|}}} |code={{PAGENAME}} |parent={{{parent|}}} |type={{{type|}}} |latitude={{{latitude|}}} |longitude={{{longitude|}}} |notes={{{notes|}}} }} == {{{title|}}} =="
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:


{{#cargo_declare:
{{#cargo_declare:
  _table=Places
  |_table=Places
  |title=String
  |Code=Page
  |code=String
|Parent=Page
  |parent=Page
  |Label=String
  |type=String
  |Type=String
  |latitude=Float
  |Address=String
  |longitude=Float
  |Latitude=Float
  |notes=Text
  |Longitude=Float
  |Notes=Text
}}
}}
{{#forminput:form=Place}}
</noinclude>
</noinclude>


{{#cargo_store:
{{#cargo_store:
  title={{{title|}}}
  |Code={{FULLPAGENAME}}
  |code={{PAGENAME}}
|Parent={{{Parent|}}}
  |parent={{{parent|}}}
  |Label={{{Label|}}}
  |type={{{type|}}}
  |Type={{{Type|}}}
  |latitude={{{latitude|}}}
  |Address={{{Address|}}}
  |longitude={{{longitude|}}}
  |Latitude={{{Latitude|}}}
  |notes={{{notes|}}}
  |Longitude={{{Longitude|}}}
  |Notes={{{Notes|}}}
}}
 
== {{{Label|}}} ==
{{DISPLAYTITLE:{{{Label}}}}}
 
{{#if:{{{Parent|}}}|
'''Parent place:''' [[{{{Parent}}}]]
}}
}}


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

Latest revision as of 15:37, 19 February 2026

Place data template

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



Notes:


Map: View on OpenStreetMap