सामग्री पर जाएँ

साँचा:WikidataCoord

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

लुआ त्रुटि मॉड्यूल:Lua_banner में पंक्ति 113 पर: attempt to index field 'edit' (a nil value)।

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}}स्क्रिप्ट त्रुटि: "WikidataCoord" ऐसा कोई मॉड्यूल नहीं है।(display at top of page). Only for these combinations the use of this template is restricted:
      • when |display= is present but empty, the rendered coordinates are displayed in line (equivalent to |display=inline):
        {{WikidataCoord|Q24012602|display=}}स्क्रिप्ट त्रुटि: "WikidataCoord" ऐसा कोई मॉड्यूल नहीं है।
      • 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[संपादित करें]