Parameter documentation for {{Infobox mapframe}}, and infoboxes using Module:Infobox mapframe (auto
function).
In the documentation page of the target template (could be the infobox), add {{Infobox mapframe/doc/parameters}}
.
|noprefix=yes
to show without the "mapframe-" prefix – for use on Template:Infobox mapframe/doc.|mapframe-marker=building
.|deprecated=yes
to show deprecated parameters{{Infobox mapframe/doc/parameters
|mapframe-marker={{kbd|museum}}
}}
| image4 = {{#invoke:Infobox mapframe| ... |mapframe-marker=museum}}
Parameter list
|
---|
<!-- Infobox mapframe: all parameters, no aliases (29) -->
<!-- Basic parameters: -->
| mapframe =
| mapframe-caption =
| mapframe-custom =
| qid =
| mapframe-coordinates =
| mapframe-wikidata =
<!-- Customise features displayed: -->
| mapframe-shape =
| mapframe-point =
| mapframe-line =
| mapframe-geomask =
| mapframe-switcher =
<!-- Other optional parameters: -->
| mapframe-frame-width =
| mapframe-frame-height =
| mapframe-shape-fill =
| mapframe-shape-fill-opacity =
| mapframe-stroke-color =
| mapframe-stroke-width =
| mapframe-marker =
| mapframe-marker-color =
| mapframe-geomask-stroke-color =
| mapframe-geomask-stroke-width =
| mapframe-geomask-fill =
| mapframe-geomask-fill-opacity =
| mapframe-zoom =
| mapframe-length_km =
| mapframe-length_mi =
| mapframe-area_km2 =
| mapframe-area_mi2 =
| mapframe-frame-coordinates =
<!-- Infobox mapframe: parameters, including aliases (40) -->
<!-- Basic parameters: -->
| mapframe =
| mapframe-caption =
| mapframe-custom =
| id =
| mapframe-id =
| qid =
| mapframe-coordinates =
| mapframe-coord =
| coordinates =
| coord =
| mapframe-wikidata =
<!-- Customise features displayed: -->
| mapframe-shape =
| mapframe-point =
| mapframe-line =
| mapframe-geomask =
| mapframe-switcher =
<!-- Other optional parameters: -->
| mapframe-frame-width =
| mapframe-width =
| mapframe-frame-height =
| mapframe-height =
| mapframe-shape-fill =
| mapframe-shape-fill-opacity =
| mapframe-stroke-color =
| mapframe-stroke-colour =
| mapframe-stroke-width =
| mapframe-marker =
| mapframe-marker-color =
| mapframe-marker-colour =
| mapframe-geomask-stroke-color =
| mapframe-geomask-stroke-colour =
| mapframe-geomask-stroke-width =
| mapframe-geomask-fill =
| mapframe-geomask-fill-opacity =
| mapframe-zoom =
| mapframe-length_km =
| mapframe-length_mi =
| mapframe-area_km2 =
| mapframe-area_mi2 =
| mapframe-frame-coordinates =
| mapframe-frame-coord =
|
Deprecated parameters
|
---|
|
|mapframe-geomask=
is set, "Location in geomask's label"){{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified|coord={{Coord|12.34|N|56.78|E}}
. Default: coordinates from Wikidatayes
to show shape/line features from the wikidata item, if any, when |coord=
is set. Default: not specifiednone
. Use an inverse shape (geomask) instead of a regular shape by setting to inverse
. Default: not specifiednone
. Force point marker to be displayed by setting to on
. Default: not specifiednone
. Default: not specifiedP17
for country (P17), P131
for located in the administrative territorial entity (P131)). Default: not specifiedauto
or geomasks
or zooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
auto
– switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3
), "zoomed out" is 1
, and "zoomed midway" is the averageblank
to override any default marker symbol