ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Infobox mapframe/doc/templatedata

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

No description.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ[Edit template data]

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Show mapframe mapmapframe

Specify yes or no to show or hide the map, overriding the default

ਮੂਲ ਰੂਪ
no
Example
yes
Stringsuggested
Mapframe captionmapframe-caption

Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>"

Stringoptional
Custom mapframemapframe-custom

Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.

Templateoptional
Mapframe Wikidata itemmapframe-id id qid

Id (Q-number) of Wikidata item to use.

ਮੂਲ ਰੂਪ
(item for current page)
Stringoptional
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates coord

Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.

ਮੂਲ ਰੂਪ
(coordinates from Wikidata)
Example
{{Coord|12.34|N|56.78|E}}
Templateoptional
Mapframe shapes from Wikidatamapframe-wikidata

et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter

Example
yes
Stringoptional
Mapframe point featuremapframe-point

Override display of mapframe point feature. Turn off display of point feature by setting to "none". Force point marker to be displayed by setting to "on"

Stringoptional
Mapframe shape featuremapframe-shape

Override display of mapframe shape feature. Turn off by setting to "none". Use an inverse shape (geomask) instead of a regular shape by setting to "inverse"

Stringoptional
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

ਮੂਲ ਰੂਪ
270
Numberoptional
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

ਮੂਲ ਰੂਪ
200
Numberoptional
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

ਮੂਲ ਰੂਪ
#606060
Stringoptional
Mapframe shape fill opacitymapframe-shape-fill-opacity

Opacity level of shape fill, a number between 0 and 1

ਮੂਲ ਰੂਪ
0.5
Numberoptional
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

ਮੂਲ ਰੂਪ
#ff0000
Stringoptional
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

ਮੂਲ ਰੂਪ
5
Numberoptional
Mapframe markermapframe-marker

Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options

Example
museum
Stringoptional
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

ਮੂਲ ਰੂਪ
#5E74F3
Stringoptional
Mapframe geomaskmapframe-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. P17 for country, or P131 for located in the administrative territorial entity)

Example
Q100
Page nameoptional
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

ਮੂਲ ਰੂਪ
#555555
Stringoptional
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

ਮੂਲ ਰੂਪ
2
Numberoptional
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

ਮੂਲ ਰੂਪ
#606060
Stringoptional
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

Opacity level of fill outside geomask features, a number between 0 and 1

ਮੂਲ ਰੂਪ
0.5
Numberoptional
Mapframe zoommapframe-zoom

Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area

ਮੂਲ ਰੂਪ
10
Example
12
Numberoptional
Mapframe length (km)mapframe-length_km

Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe length (mi)mapframe-length_mi

Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (km^2)mapframe-area_km2

Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (mi^2)mapframe-area_mi2

Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}

Example
{{Coord|12.35|N|56.71|E}}
Templateoptional
Mapframe switchermapframe-switcher

Set to "auto" or "geomasks" or "zooms" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO 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. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO 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.

Stringoptional