ढाँचा:WikidataCoord
ढाँचा कागजात[हेर्नुहोस्] [सम्पादन गर्नुहोस्] [इतिहास] [ताजा गर्नुहोस्]
This template is used on approximately ६,८०० 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 the Wikidata property:
- निर्देशाङ्क स्थान (P625) (उपयोग हेर्नुहोस्)
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:Coordtemplate 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}}
→ निर्देशाङ्कहरू: ४७°३४′१२″उ॰ ५२°४०′५५″प॰ / ४७.५७०००°N ५२.६८१९४°W(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=}}
→ ५३°४०′३६″उ॰ ११२°४९′४३″प॰ / ५३.६७६६७°N ११२.८२८६१°W
- 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.
- when
Example
सम्पादन गर्नुहोस्For an article that has a |coordinates=
parameter within an infobox, use:
|coordinates=
{{WikidataCoord|display=inline,title}}