Template:Location map+/TemplateData

Jump to navigation Jump to search

This template places one or more location marks on a map.

Template parameters

ParameterDescriptionTypeStatus
Map name1

The name of the map to be used

Stringrequired
Map widthwidth

Determines the width of the map in pixels, overriding any default values. Do not include "px", for example: "300", not "300px".

Numberoptional
Default widthdefault_width

Determines the default width of the map in pixels, intended for use by templates such as infoboxes. The default value is 240. Do not include "px". This value will be multiplied by the defaultscale parameter specified in individual map templates, if it exists, in order to achieve an appropriate size for vertical maps.

Numberoptional
Positionfloat

Specifies the position of the map on the page. Valid values are left, right, center and none. The default is right.

Stringoptional
Border colorborder

Specifies the color of the map border. If set to none, no border will be generated.

Stringoptional
Map captioncaption

The text of a caption to be displayed below the map. If caption is defined but is not assigned a value, the map will not be framed and no caption will be displayed. If caption is not defined, the map will not be framed and a default caption will be generated.

Stringoptional
Alt textalt

Alt text for map; used by screen readers.

Stringoptional
Alternative map from templaterelief

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.

Stringoptional
Alternative map not from templateAlternativeMap

Allows the use of an alternative map. The image must have the same edge coordinates as the map template.

Stringoptional
Overlay imageoverlay_image

Allows an overlay to be superimposed on the map. This parameter is seldom used.

Stringoptional
Place markersplaces

Specifies one or more place markers using Location map~.

Stringrequired