الگو:WikidataCoord
![]() | این الگو از لوآ استفاده میکند: |
![]() |
این الگو از ویژگیهای ویکیداده:
|
This template takes geographic coordinate data in the form provided by Wikidata (dms), formats the data into the form required by الگو: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 §الگو:Coord at Template:Coordtemplate parameters
– passed through to Template:Coord unmodified; see §الگو:Coord 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}}
→ مختصات: ۴۷°۳۴′۱۲″ شمالی ۵۲°۴۰′۵۵″ غربی / ۴۷٫۵۷۰۰۰°شمالی ۵۲٫۶۸۱۹۴°غربی(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=}}
→ ۵۳°۴۰′۳۶″ شمالی ۱۱۲°۴۹′۴۳″ غربی / ۵۳٫۶۷۶۶۷°شمالی ۱۱۲٫۸۲۸۶۱°غربی
- when
توضیحات بالا تراگنجاندهشده از الگو:WikidataCoord/توضیحات است. (ویرایش | تاریخچه) ویرایشگران میتوانند در صفحات تمرین (ایجاد | آینه) و آزمایشی (ایجاد) این الگو را آزمایش کنند. لطفاً ردهها را به زیرصفحهٔ /توضیحات بیفزایید. زیرصفحههای این الگو. |