Template:Mapbox - Wikipedia (original) (raw)
Above
above
Content (such as explanatory text) appearing above the links
String
optional
Below
below
Content (such as explanatory text) appearing below the links
String
optional
Left-align text
text-left
Set this to "yes" to change the link text from centre-aligned to left-aligned
Unknown
optional
Type
type
Type of data. Valid values are: "line" – a geoline feature from OSM (e.g. a road), "shape" – a geoshape feature from OSM (e.g. a state or province), "shape-inverse" – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath), "data" – a geoJSON data page on Commons (parameter is optional in this case), "point" – a point feature (coordinates)
String
suggested
Wikidata ID
id ids
Wikidata ID (Q-number) that the OSM feature is tagged with. Separate multiple IDs with a comma.
Default
The current page's Wikidata id (if |from= not set).
String
optional
From
from
The JSON (.map) page from Commons to display (excluding the Data: prefix)
Example
Inner West Light Rail.map
Unknown
suggested
Title
title
Title of the feature (for features from OSM), displayed when the feature is clicked on.
Default
The title of the page using the template.
String
optional
Description
description
Description of the feature (for features from OSM), displayed when the feature is clicked on; optional
String
optional
Raw data
raw data
Raw GeoJSON (preferably transcluded from a subpage of Wikipedia:Map data) as well as functionality not available via the other parameters. See the "When to use the raw parameter" section of the documentation for more information.
Unknown
suggested
Stroke (line) colour
stroke-color stroke-colour
Colour code for the colour used to draw the feature (for features from OSM).
Default
#555555
Unknown
optional
Stroke (line) width
stroke-width
Width for the lines used to draw the feature (for features from OSM)
Default
5
Number
optional
Coordinates
coord
Coordinates to display for a point feature. Use the {{Coord}} template to specify coordinates.
Default
If not set, coordinates will be retrieved from Wikidata.
Unknown
optional
Marker icon
marker
Name of Maki marker image to display at the point feature. See https://www.mediawiki.org/wiki/Maps/Icons for options.
Default
No icon
Unknown
optional
Zoom level
zoom
Zoom level, from 1 to 19 (larger numbers zoom in further).
Default
Automatically calculated.
Number
optional
Link text
text
Text to display for the link.
Default
View map.
String
optional
Link text (2nd link)
text2
Text to display for the 2nd link; required if including a 2nd link
String
optional
Type (2nd link)
type2
Type of data for the 2nd link. Valid values are: "line" – a geoline feature from OSM (e.g. a road), "shape" – a geoshape feature from OSM (e.g. a state or province), "shape-inverse" – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath), "data" – a geoJSON data page on Commons (parameter is optional in this case), "point" – a point feature (coordinates).
String
optional
Wikidata ID (2nd link)
id2 ids2
Wikidata ID (Q-number) that the OSM feature is tagged with. Separate multiple IDs with a comma.
String
optional
Title (2nd link)
title2
Title of the feature used for the 2nd link (for features from OSM), displayed when the feature is clicked on.
String
optional
From (2nd link)
from2
The JSON (.map) page from Commons to display (excluding the Data: prefix)
Example
Inner West Light Rail.map
Unknown
optional
Description (2nd link)
description2
Description of the feature (for features from OSM), displayed when the feature is clicked on; optional
String
optional
Raw data (2nd link)
raw2 data2
Raw GeoJSON for the 2nd link (preferably transcluded from a subpage of Wikipedia:Map data) as well as functionality not available via the other parameters. See the "When to use the raw parameter" section of the documentation for more information.
Unknown
optional
Stroke (line) colour (2nd link)
stroke-color2 stroke-colour2
Colour code for the colour used to draw the feature (for features from OSM).
Default
#555555
Unknown
optional
Stroke (line) width (2nd link)
stroke-width2
Width for the lines used to draw the feature (for features from OSM)
Default
5
Number
optional
Coordinates (2nd link)
coord2
Coordinates to display for a point feature. Use the {{Coord}} template to specify coordinates.
Default
If not set, coordinates will be retrieved from Wikidata.
Unknown
optional
Marker icon (2nd link)
marker2
Name of Maki marker image to display at the point feature. See https://www.mediawiki.org/wiki/Maps/Icons for options.
Default
No icon
Unknown
optional
Zoom level (2nd link)
zoom2
Zoom level for the 2nd link, from 1 to 19 (larger numbers zoom in further).
Default
Automatically calculated
Number
optional
Link text (3rd link)
text3
Text to display for the 3rd link; required if including a 3rd link
String
optional
Type (3rd link)
type3
Type of data for the 3rd link. Valid values are: "line" – a geoline feature from OSM (e.g. a road), "shape" – a geoshape feature from OSM (e.g. a state or province), "shape-inverse" – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath), "data" – a geoJSON data page on Commons (parameter is optional in this case), "point" – a point feature (coordinates).
String
optional
Wikidata ID (3rd link)
id3 ids3
Wikidata ID (Q-number) that the OSM feature is tagged with. Separate multiple IDs with a comma.
String
optional
Title (3rd link)
title3
Title of the feature used for the 3rd link (for features from OSM), displayed when the feature is clicked on.
String
optional
From (3rd link)
from3
The JSON (.map) page from Commons to display (excluding the Data: prefix)
Example
Inner West Light Rail.map
Unknown
optional
Description (3rd link)
description3
Description of the feature (for features from OSM), displayed when the feature is clicked on; optional
String
optional
Raw data (3rd link)
raw3 data3
Raw GeoJSON for the 3rd link (preferably transcluded from a subpage of Wikipedia:Map data) as well as functionality not available via the other parameters. See the "When to use the raw parameter" section of the documentation for more information.
Unknown
optional
Stroke (line) colour (3rd link)
stroke-color3 stroke-colour3
Colour code for the colour used to draw the feature (for features from OSM).
Default
#555555
Unknown
optional
Stroke (line) width (3rd link)
stroke-width3
Width for the lines used to draw the feature (for features from OSM)
Default
5
Number
optional
Coordinates (3rd link)
coord3
Coordinates to display for a point feature. Use the {{Coord}} template to specify coordinates.
Default
If not set, coordinates will be retrieved from Wikidata.
Unknown
optional
Marker icon (3rd link)
marker3
Name of Maki marker image to display at the point feature. See https://www.mediawiki.org/wiki/Maps/Icons for options.
Default
No icon
Unknown
optional
Zoom level (3rd link)
zoom3
Zoom level for the 3rd link, from 1 to 19 (larger numbers zoom in further).
Default
Automatically calculated
Number
optional
Link text (4th link)
text4
Text to display for the 4th link; required if including a 4th link
String
optional
Type (4th link)
type4
Type of data for the 4th link. Valid values are: "line" – a geoline feature from OSM (e.g. a road), "shape" – a geoshape feature from OSM (e.g. a state or province), "shape-inverse" – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath), "data" – a geoJSON data page on Commons (parameter is optional in this case), "point" – a point feature (coordinates).
String
optional
Wikidata ID (4th link)
id4 ids4
Wikidata ID (Q-number) that the OSM feature is tagged with. Separate multiple IDs with a comma.
String
optional
Title (4th link)
title4
Title of the feature used for the 4th link (for features from OSM), displayed when the feature is clicked on.
String
optional
From (4th link)
from4
The JSON (.map) page from Commons to display (excluding the Data: prefix)
Example
Inner West Light Rail.map
Unknown
optional
Description (4th link)
description4
Description of the feature (for features from OSM), displayed when the feature is clicked on; optional
String
optional
Raw data (4th link)
raw4 data4
Raw GeoJSON for the 4th link (preferably transcluded from a subpage of Wikipedia:Map data) as well as functionality not available via the other parameters. See the "When to use the raw parameter" section of the documentation for more information.
Unknown
optional
Stroke (line) colour (4th link)
stroke-color4 stroke-colour4
Colour code for the colour used to draw the feature (for features from OSM).
Default
#555555
Unknown
optional
Stroke (line) width (4th link)
stroke-width4
Width for the lines used to draw the feature (for features from OSM)
Default
5
Number
optional
Coordinates (4th link)
coord4
Coordinates to display for a point feature. Use the {{Coord}} template to specify coordinates.
Default
If not set, coordinates will be retrieved from Wikidata.
Unknown
optional
Marker image (4th link)
marker4
Name of Maki marker image to display at the point feature. See https://www.mediawiki.org/wiki/Maps/Icons for options.
Default
No icon
Unknown
optional
Zoom level (4th link)
zoom4
Zoom level for the 4th link, from 1 to 19 (larger numbers zoom in further).
Default
Automatically calculated
Number
optional
Link text (5th link)
text5
Text to display for the 5th link; required if including a 5th link
String
optional
Type (5th link)
type5
Type of data for the 5th link. Valid values are: "line" – a geoline feature from OSM (e.g. a road), "shape" – a geoshape feature from OSM (e.g. a state or province), "shape-inverse" – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath), "data" – a geoJSON data page on Commons (parameter is optional in this case), "point" – a point feature (coordinates).
String
optional
Wikidata ID (5th link)
id5 ids5
Wikidata ID (Q-number) that the OSM feature is tagged with. Separate multiple IDs with a comma.
String
optional
Title (5th link)
title5
Title of the feature used for the 5th link (for features from OSM), displayed when the feature is clicked on.
String
optional
From (5th link)
from5
The JSON (.map) page from Commons to display (excluding the Data: prefix)
Example
Inner West Light Rail.map
Unknown
optional
Description (5th link)
description5
Description of the feature (for features from OSM), displayed when the feature is clicked on; optional
String
optional
Raw data (5th link)
raw5 data5
Raw GeoJSON for the 5th link (preferably transcluded from a subpage of Wikipedia:Map data) as well as functionality not available via the other parameters. See the "When to use the raw parameter" section of the documentation for more information.
Unknown
optional
Stroke (line) colour (5th link)
stroke-color5 stroke-colour5
Colour code for the colour used to draw the feature (for features from OSM).
Default
#555555
Unknown
optional
Stroke (line) width (5th link)
stroke-width5
Width for the lines used to draw the feature (for features from OSM)
Default
5
Number
optional
Coordinates (5th link)
coord5
Coordinates to display for a point feature. Use the {{Coord}} template to specify coordinates.
Default
If not set, coordinates will be retrieved from Wikidata.
Unknown
optional
Marker image (5th link)
marker5
Name of Maki marker image to display at the point feature. See https://www.mediawiki.org/wiki/Maps/Icons for options.
Default
No icon
Unknown
optional
Zoom level (5th link)
zoom5
Zoom level for the 5th link, from 1 to 19 (larger numbers zoom in further).
Default
Automatically calculated
Number
optional