• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:WikidataCoord

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:WikidataCordinates)
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:WikidataCoord (sandbox)
This template uses the Wikidata property:
  • coordinate ___location (P625) (see uses)

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:

{{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 Template:Coord unmodified; see §Usage at Template:Coord
  • template parameters – 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 |display=title):
        {{WikidataCoord|Q218501}} → 47°34′12″N 52°40′55″W / 47.57000°N 52.68194°W / 47.57000; -52.68194(display at top of page). Only for these combinations the use of this template is restricted:
        This template does not display in the mobile view of Wikipedia; it is desktop only. See Template:Navbox visibility for a brief explanation.
      • 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 / 53.67667; -112.82861
      • to make the coordinates visible for mobile users, one would use |display=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={{WikidataCoord|display=inline,title}}

See also

  • {{WikidataCoord hqlocation}}
The above documentation is transcluded from Template:WikidataCoord/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:WikidataCoord&oldid=1305415708"
Last edited on 11 August 2025, at 23:17

Languages

    • Afrikaans
    • العربية
    • Авар
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Башҡортса
    • भोजपुरी
    • Bikol Central
    • Bosanski
    • Dansk
    • Deutsch
    • Ελληνικά
    • Esperanto
    • فارسی
    • Fiji Hindi
    • Føroyskt
    • Français
    • ગુજરાતી
    • 한국어
    • हिन्दी
    • Ilokano
    • Bahasa Indonesia
    • Íslenska
    • Jawa
    • کٲشُر
    • Kurdî
    • Ladin
    • Lietuvių
    • Македонски
    • മലയാളം
    • Bahasa Melayu
    • ꯃꯤꯇꯩ ꯂꯣꯟ
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Монгол
    • မြန်မာဘာသာ
    • Nederlands
    • नेपाली
    • 日本語
    • Oʻzbekcha / ўзбекча
    • ਪੰਜਾਬੀ
    • Papiamentu
    • Scots
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenščina
    • کوردی
    • Српски / srpski
    • Tagalog
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • Tiếng Việt
    • 粵語
    • 中文
    • Kadazandusun
    • Jaku Iban
    • Kumoring
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 11 August 2025, at 23:17 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop