Template:Location map~/TemplateData
A helper template for Template:Location map+. Creates a single place marker on a map.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Map name | 1 | Must be the same as specified in the parent Location map +. For example, specifying England will use the values for England in Module:Location map/data/England if it exists, or {{Location map England}} otherwise. | String | required |
Label | label | The label to display; may be wikilinked.
| Content | suggested |
Label font size | label_size | The font size to use for the label, given as a percentage of the normal font size (<100 = smaller, >100 = larger). The default is 90. Do not include %. If set to zero, the label is only shown on hovering over the marker. | Number | optional |
Label position | position | Label position relative to the marker. May be left, right, top, or bottom.
| Unknown | optional |
Label background color | background | A background color for the label.
| Unknown | optional |
Marker image | mark | The name of an image to display as the mark. See examples at Commons:Location markers and Commons:Category:Map icons.
| File | optional |
Marker image size | marksize | The size, in pixels, of the marker image. Specify as "10", not "10px"
| Number | optional |
Marker link | link | The name of a page to go to when the link is clicked. Do not wrap in [[square brackets]].
| Page name | suggested |
Latitude (degrees) | lat_deg | The location of the marker. If using decimal degrees, do not specify minutes or seconds. If using signed (positive North, negative South) decimal degrees, do not specify direction.
| Number | required |
Latitude (minutes) | lat_min | The location of the marker. If using decimal degrees, do not specify this value. | Number | optional |
Latitude (seconds) | lat_sec | The location of the marker. If using decimal degrees, do not specify this value. | Number | optional |
Latitude (North/South) | lat_dir | "N" for North (default), "S" for South. Do not use any other value. If latitude (degrees) uses negative values for South, this value is not needed.
| String | optional |
Longitude (degrees) | lon_deg | The location of the marker. If using decimal degrees, do not specify minutes or seconds. If using signed (positive East, negative West) decimal degrees, do not specify direction.
| Number | required |
Longitude (minutes) | lon_min | The location of the marker. If using decimal degrees, do not specify this value. | Number | optional |
Longitude (seconds) | lon_sec | The location of the marker. If using decimal degrees, do not specify this value. | Number | optional |
Longitude (East/West) | lon_dir | "E" for East (default), "W" for West. Do not use any other value. If latitude (degrees) uses negative values for West, this value is not needed.
| String | optional |