Template:Location map/doc/infobox parameters
Jump to navigation
Jump to search
Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox.
| Parameter | Description | Default |
|---|---|---|
|pushpin_map=
|
The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by #. For multiple maps, the first is shown by default. A reader can select the others with radio buttons.
|
N/A |
|pushpin_caption=
|
The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by ## (that's two).
|
Location within MAPNAME |
|pushpin_relief=
|
Any non-blank value (1, yes, etc.) will cause the template to display the map specified in the map definition template as image1, which is usually a relief map; see the example at Location map+/relief. Other numerical values such as 2 or 3 will display image2 or image3, if those images are defined.
|
N/A |
|pushpin_label=
|
The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{nowrap}} if you want to make sure that it stays on a single line. | N/A |
|pushpin_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 size is 90. Do not include %. For example, use |pushpin_label_size=80, not |pushpin_label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark.
|
90 |
|pushpin_label_position=
|
The position of the label relative to the identifying mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. When |pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption.
|
N/A |
|pushpin_mark=
|
The name of an image file to display as the identifying mark; the default is Red pog.svg File:Red pog.svg. See examples at Commons:Location markers and Commons:Category:Map icons. | Red pog.svg File:Red pog.svg |
|pushpin_mark_size=
|
The size of the identifying mark in pixels. Do not include px | 8 |
|pushpin_alt=
|
Alt text for map; used by screen readers. See WP:ALT. | N/A |
|pushpin_background=
|
The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. | N/A |
|pushpin_map_size=
|
Determines the width of the map in pixels, overriding any default values; do not include px. | N/A |