Template:Map

From elijah
Jump to navigation Jump to search



Use this template on Map: pages to store spatial map metadata.

Example:

{{Map
 |HasMapID=1.4.4
 |HasTitle=Trade Routes
 |HasDescription=Arrows follow the direction of trade; dots mark the trading towns.
 |HasAuthor=Adam Teller
 |HasSources=Pomniki dziejowe Lwowa, vol. 1 (1892)...
 |HasStructureFile=File:1.4.4-structure.json
 |HasRegion=Galicia
 |HasCenterLat=48.8
 |HasCenterLng=22.5
 |HasZoom=5
 |HasTimePeriod=1772-1914; Before 1772
 |BelongsToTopic=Economics; Demography and Statistics
 |HasRelatedEntries=Article:011; Article:055
}}

Properties with type notes:

  • HasStructureFile — page reference to File: namespace (e.g. File:1.4.4-structure.json); the JSON must be uploaded to the wiki as a file
  • HasCenterLat / HasCenterLng — SMW Number type
  • HasZoom — SMW Number type
  • HasRegion — text, controlled vocabulary
  • BelongsToTopic — list of text values from controlled vocabulary (semicolon-separated)
  • HasTimePeriod — list of text values, controlled vocabulary (semicolon-separated)
  • HasRelatedEntries — list of page references to Article: namespace (semicolon-separated)
  • All others — text