Template:Wikidata location map/doc
| This is a documentation subpage for Template:Wikidata location map. It may contain usage information, categories and other content that is not part of the original template page. |
This is a wrapper for {{Location map}} which adds (1) some error handling and (2) logic for determining the map name. It is intended to be used in the code for infoboxes which retrieve information from WikiData. It is not intended to be used directly in articles.
Usage
| image = {{Wikidata location map
| nomap = {{{nomap|}}}
| coordinates = {{{coordinates|}}}
| locmapin = {{{locmapin|}}}<!-- or {{{pushpin_map|}}} or {{{location_map|}}} or {{{map_type|}}} -->
| relief = {{{map_relief|1}}}<!-- or {{{pushpin_map_relief|1}}} or {{{relief|1}}} -->
| map_width = {{{map_width|}}}<!-- or {{{pushpin_mapsize|}}} or {{{location_map_width}}} -->
| alt = {{{map_alt|}}}<!-- or {{{pushpin_map_alt|}}} or {{{location_map_alt|}}} -->
| name = {{{name|}}}
| map_caption = {{{map_caption|}}}<!-- or {{{pushpin_map_caption|}}} or {{{location_map_caption|}}} -->
| trackingcat =
}}
- Any non-blank value passed to
|nomap=suppresses the output. - If
|coordinates=is blank and no coordinates exist on wikidata, then no map is generated. - If
|locmapin=is not blank, the corresponding {{location map}} is used without any attempt to determine it from wikidata. - If
|locmapin=is blank, then the subtemplate {{Wikidata location map/mapname}} is used to determine an appropriate location map. - If there are any errors, the transcluding page is added to
trackingcatand Category:Location maps with possible errors and possibly Category:Pages with script errors. - Any articles transcluding this template with
|locmapin=not blank are added to Category:Articles using Wikidata location map with locally defined parameters
Templates using this template
- {{Infobox observatory}}
- {{Infobox power station}}
- {{Infobox pyramid}}
- {{Infobox telescope}}
- {{Infobox World Heritage Site}}
- {{Infobox museum/wikidata}}
See also
- {{Wikidata location}}
- {{Location map}}
- {{Coord}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.