Template:Location map wikidata

Template documentation[view · edit · history · purge]

This is a wrapper of {{Location map~}} to populate the template using coordinate data read from Wikidata. This template has almost identical parameters as {{Location map~}}, except that that it takes the second anonymous parameter as a Wikidata item starting with "Q", and another parameter label_property that specifies which data to read from.

Example

{{Location map+
| USA Western PA & surrounding States |caption=
| width          = 300
| float          = left
| places = 
  {{Location map wikidata | USA Western PA & surrounding States | Q3813760}}
}}
{{Location map+
| USA Western PA & surrounding States |caption=
| width          = 300
| float          = left
| places = 
  {{Location map wikidata | USA Western PA & surrounding States | Q3813760 | label_property=P240}}
}}
Location map wikidata is located in Western Pennsylvania and surrounding states
BTP
Category:Location map templates
Category:Location map templates