Plantilya:Location map
plantilya Wikipedya / From Wikipedia, the free encyclopedia
This template is used on 428,000+ pages, or roughly 4% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template generates a location map as a composite image consisting of a map and a location mark. Optionally a label and caption can be added.
Usage
Map image files are not accessed directly but by using an auxiliary map definition. For example, if the first unnamed parameter supplied to this template is "Japan", then this template uses the entry for Japan in Module:Location map/data/Japan if it exists, or {{Location map Japan}} otherwise, one of which contains the data needed to generate the composite image.
- Please note
- Assigning any value to the parameter
caption
causes the map to be displayed as a thumbnail image. If this parameter is not declared, the template will generate a default caption. - The coordinates are not checked. If the coordinates specified fall outside the area covered by the map image, the location mark will not display inside the image; however, it may be displayed somewhere else on the page.
- Do not use
px
. Usingwidth=200px
will usually cause a very large map to be displayed. Usewidth=200
. - To create a map with more than one location mark use {{Location map+}} or {{Location map many}}.
Blank templates
[[file:Plantilya:Location map USA|320px|Location map is located in Plantilya:Location map USA]]<div style="position: absolute; z-index: 2; top: Problema sa ekspresyon: Wa mailhi nga karakter "[".%; left: Problema sa ekspresyon: Wa mailhi nga karakter "[".%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Problema sa ekspresyon: Wa mailhi nga karakter "[".px; top: -Problema sa ekspresyon: Wa mailhi nga karakter "[".px; width: Plantilya:Location map USApx; font-size: Plantilya:Location map USApx; line-height: 0; z-index:100;" title="">[[File:Plantilya:Location map USA|Plantilya:Location map USAxPlantilya:Location map USApx|Location map|link=|alt=]]
<div style="font-size: %; line-height: 110%; z-index:90; position: relative; top: -1.5em; width: 6em; Problema sa ekspresyon: Wa mailhi nga karakter "[".">More information Decimal degrees, Degrees, minutes, seconds ...
Decimal degrees | Degrees, minutes, seconds | |
---|---|---|
{{Location map | {{{1}}} | width = | float = | border = | caption = | alt = | relief = | AlternativeMap = | overlay_image = | label = | label_size = | position = | background = | mark = | marksize = | link = | lat_deg = | lon_deg = }} |
{{Location map | {{{1}}} | width = | float = | border = | caption = | alt = | relief = | AlternativeMap = | overlay_image = | label = | label_size = | position = | background = | mark = | marksize = | link = | lat_deg = | lat_min = | lat_sec = | lat_dir = | lon_deg = | lon_min = | lon_sec = | lon_dir = }} |
Close