Predloga:WikidataCoord
Videz
Uporablja Lua: |
This template takes geographic coordinate data in the form provided by Wikidata (dms), formats the data into the form required by Predloga:Koord novi, and then calls Predloga:Koord novi to create links to GeoHack. The basic form is:
{{WikidataCoord|wikidata page name|coordinate parameters|template parameters}}
wikidata page name
– unnamed positional parameter is the Wikidata page name (starting with Q). Default is the current page.coordinate parameters
– passed through to Predloga:Koord novi unmodified; see §Usage at Predloga:Koord novitemplate parameters
– passed through to Predloga:Koord novi unmodified; see §Usage at Predloga:Koord novi|display=
behavior is different from Predloga:Koord novi:- when
|display=
is not present, the rendered coordinates are displayed at the top of the page (equivalent to|display=title
):{{WikidataCoord|Q218501}}
→ (display at top of page)
- when
|display=
is present but empty, the rendered coordinates are displayed in line (equivalent to|display=inline
):{{WikidataCoord|Q24012602|display=}}
→ 53°40′36″N 112°49′43″W / 53.67667°N 112.82861°W
- when