Template:WikidataCoord/doc

This template takes geographic coordinate data in the form provided by Wikidata (dms), formats the data into the form required by Template:Coord, and then calls Template:Coord to create links to GeoHack. The basic form is:

&#123;{WikidataCoord|wikidata page name|coordinate parameters|template parameters}&#125;


 *   – unnamed positional parameter is the Wikidata page name (starting with Q). Default is the current page.
 *   – passed through to Template:Coord unmodified; see §Usage at Template:Coord
 *   – passed through to Template:Coord unmodified; see §Usage at Template:Coord
 * display behavior is different from Template:Coord:
 * when display is not present, the rendered coordinates are displayed at the top of the page (equivalent to title):
 * → (display at top of page)
 * when display is present but empty, the rendered coordinates are displayed in line (equivalent to inline):
 * typically, one would use inline,title so that it will display within an infobox and at the top of the page of an article.
 * typically, one would use inline,title so that it will display within an infobox and at the top of the page of an article.

Example
For an article that has a coordinates parameter within an infobox, use:
 * coordinates