# வார்ப்புரு:Infobox mapframe/doc/parameters

<noinclude></noinclude><includeonly></includeonly>  
- 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 template, e.g. . *Default:* *coordinates from Wikidata*
  - **wikidata** – Set to to show shape/line features from the wikidata item, if any, when is set. *Default:* }
- Customise which features are displayed:
  - **shape** – Turn off display of shape feature by setting to . Use an inverse shape (geomask) instead of a regular shape by setting to . *Default:* }
  - **point** – Turn off display of point feature by setting to . Force point marker to be displayed by setting to . *Default:* }
  - **line** – Turn off display of line feature by setting to . *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. <code>P17</code> for , <code>P131</code> for ). *Default:* }
  - **switcher** – set to or or to enable Template:Switcher-style switching between multiple mapframes. *Default:* }
    - – 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.
    - – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the **geomask** parameter
    - – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of ), "zoomed out" is , and "zoomed midway" is the average
- Other optional parameters:
  - **-width** or **width** – Frame width. *Default:* }
  - **-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 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 length_mi area_km2 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*
  - **-coordinates** or **-coord** – Alternate latitude and longitude coordinates for initial placement of map, using . *Default:* *derived from item coordinates*
  - **type** – Set the type of the object, with the same usage as . *Default:* }
  - **population** – Set the population, useful with type="city", for . *Default:* }