Template:Infobox mapframe/doc/parameters


 * Basic parameters:
 * – Id (Q-number) of Wikidata item to use. Default: item for current page
 * coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the Coord template, e.g. coord. Default: coordinates from Wikidata
 * wikidata – Set to yes to show shape/line features from the wikidata item, if any, when coord is set. Default:
 * Customise which features are displayed:
 * shape – Turn off display of shape feature by setting to none. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default:
 * point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default:
 * line – Turn off display of line feature by setting to none. Default:
 * geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.  for,   for ). Default:
 * switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default:
 * auto – switch geomasks found in and  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 geomask parameter
 * zooms – 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 average
 * Other optional parameters:
 * frame-width or width – Frame width. Default:
 * frame-height or height – Frame height. Default:
 * shape-fill – Color used to fill shape features. Default:
 * shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default:
 * stroke-color or stroke-colour – Color of line features, and outlines of shape features. Default:
 * stroke-width – Width of line features, and outlines of shape features; default is "5". Default:
 * marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default:
 * Can also be set to blank to override any default marker symbol
 * marker-color or marker-colour – Background color for the marker. Default:
 * geomask-stroke-color or geomask-stroke-colour – Color of outline of geomask shape. Default:
 * geomask-stroke-width – Width of outline of geomask shape. Default:
 * geomask-fill – Color used to fill outside geomask features. Default:
 * geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default:
 * zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default:
 * length_km or length_mi or area_km2 or area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
 * frame-coordinates or frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using coord. Default: derived from item coordinates