Шаблон:Картографический блок Infobox /doc /templatedata

Материал из wikixw
Перейти к навигации Перейти к поиску

<! - Последняя строка кода вашего шаблона ->

Нет описания.

Параметры шаблона[Править данные шаблона]

ПараметрОписаниеТипСтатус
Show mapframe mapmapframe

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

По умолчанию
no
Пример
yes
Строковый (без форматирования)предложенный
Mapframe captionmapframe-caption

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

Строковый (без форматирования)необязательный
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.

Имя шаблонанеобязательный
Mapframe Wikidata itemmapframe-id id qid

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

По умолчанию
(item for current page)
Строковый (без форматирования)необязательный
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates coord

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

По умолчанию
(coordinates from Wikidata)
Пример
{{Coord|12.34|N|56.78|E}}
Имя шаблонанеобязательный
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

Пример
yes
Строковый (без форматирования)необязательный
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"

Строковый (без форматирования)необязательный
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"

Строковый (без форматирования)необязательный
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

По умолчанию
270
Числонеобязательный
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

По умолчанию
200
Числонеобязательный
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

По умолчанию
#606060
Строковый (без форматирования)необязательный
Mapframe shape fill opacitymapframe-shape-fill-opacity

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

По умолчанию
0.5
Числонеобязательный
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

По умолчанию
#ff0000
Строковый (без форматирования)необязательный
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

По умолчанию
5
Числонеобязательный
Mapframe markermapframe-marker

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

Пример
museum
Строковый (без форматирования)необязательный
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

По умолчанию
#5E74F3
Строковый (без форматирования)необязательный
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)

Пример
Q100
Имя страницынеобязательный
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

По умолчанию
#555555
Строковый (без форматирования)необязательный
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

По умолчанию
2
Числонеобязательный
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

По умолчанию
#606060
Строковый (без форматирования)необязательный
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

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

По умолчанию
0.5
Числонеобязательный
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
Пример
12
Числонеобязательный
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

Числонеобязательный
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

Числонеобязательный
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

Числонеобязательный
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

Числонеобязательный
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

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

Пример
{{Coord|12.35|N|56.71|E}}
Имя шаблонанеобязательный
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.

Строковый (без форматирования)необязательный