Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Home
Random page
Pages on topics near you
Recent changes
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Location map/doc/infobox parameters
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{navbar|Template:Location map/doc/infobox parameters|plain=y|style=float: right;}} 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. {| class="wikitable" ! Parameter ! Description ! Default |- |{{para|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 {{code|#}}. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. | ''{{if empty|{{{pushpin_map|}}}|N/A}}'' |- |{{para|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 {{code|##}} (that's two). | ''{{if empty|{{{pushpin_caption|}}}|Location within MAPNAME}}'' |- |{{para|pushpin_relief}} | 0/false/off will cause the template to display the map defined as {{code|image}} (generally not a [[Cartographic relief depiction|relief map]]). 1/true/on will cause the template to display the map defined as {{code|image1}} (generally a relief map). Any non-zero numeric value such as {{code|2}} or {{code|3}} will display {{code|image2}} or {{code|image3}}, if those images are defined. Any other non-empty value will cause display of {{code|image1}}. See the example at [[Template:Location map+/relief|Location map+/relief]]. | ''{{if empty|{{{pushpin_relief|}}}|0}}'' |- |{{para|pushpin_label}} | The text of the label to display next to the identifying mark; a [[H:WIKILINK|wikilink]] can be used. You can enclose the label inside of {{tl|nowrap}} if you want to make sure that it stays on a single line. | ''{{if empty|{{{pushpin_label|}}}|N/A}}'' |- |{{para|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 {{kbd|%}}. For example, use {{para|pushpin_label_size|80}}, not {{para|pushpin_label_size|80%}}. If set to {{code|0}}, the label is only displayed when the user hovers over the mark. | ''{{if empty|{{{pushpin_label_size|}}}|90}}'' |- |style="white-space:nowrap;"<!--Only need to nowrap the longest one-->|{{para|pushpin_label_position}} | The position of the label relative to the identifying mark; valid values are {{code|left}}, {{code|right}}, {{code|top}}, {{code|bottom}} and {{code|none}}. This defaults to either {{code|left}} or {{code|right}}, depending on the coordinates of the marker and its position relative to the right border of the map image. When {{para|pushpin_label_position|none}}, any defined label will not be displayed with the mark, but it will be used to create the default caption. | ''{{if empty|{{{pushpin_label_position|}}}|N/A}}'' |- |{{para|pushpin_mark}} | The name of an image file to display as the identifying mark; the default is {{#if:{{{pushpin_mark|}}}|[[:File:{{{pushpin_mark|}}}]] [[File:{{{pushpin_mark|}}}|{{if empty|{{{pushpin_mark_size|}}}|8}}px]]|[[:File:Red pog.svg|Red pog.svg]] [[File:Red pog.svg|8px]]}}. See examples at [[Commons:Location markers]] and [[Commons:Category:Map icons]]. | ''{{#if:{{{pushpin_mark|}}}|[[:File:{{{pushpin_mark|}}}]] [[File:{{{pushpin_mark|}}}|{{if empty|{{{pushpin_mark_size|}}}|8}}px]]|[[:File:Red pog.svg|Red pog.svg]] [[File:Red pog.svg|8px]]}}'' |- |{{para|pushpin_mark_size}} | The size of the identifying mark in pixels. Do not include {{kbd|px}} | ''{{if empty|{{{pushpin_mark_size|}}}|8}}'' |- |{{para|pushpin_alt}} | Alt text for map; used by [[screen reader]]s. See [[WP:ALT]]. | ''{{if empty|{{{pushpin_alt|}}}|N/A}}'' |- |{{para|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. | ''{{if empty|{{{pushpin_background|}}}|N/A}}'' |- |{{para|pushpin_map_size}} | Determines the width of the map in [[pixel]]s, overriding any default values; do not include {{kbd|px}}. | ''{{if empty|{{{pushpin_map_size|}}}|N/A}}'' |}
Summary:
Please note that all contributions to Wikifacta are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International License. A few of Wikifacta's pages are from Wikipedia.org's Mainspace and Draftspace. (see
Wikifacta:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Location map/doc/infobox parameters
Add topic