Шаблон:Zone map v2
Материал из Guild Wars 2 wiki
Версия от 11:59, 8 апреля 2016; Snowbirdie (обсуждение | вклад) (Новая страница: «<includeonly>{{#Widget:Zone map v2|map={{#var:mapID|{{{map|15}}}}}|zoom={{{zoom|4}}}|width={{{width|800}}}|height={{{height|400}}}|clear={{{clear|left}}}}}</inclu…»)
Содержание
Description[править]
This template uses Widget:Zone map v2, which queries the map API and uses Leaflet.js to display interactive maps on zone pages.
Usage[править]
This template can only be used once per page.
Parameters[править]
All parameters are optional.
- map
- Optional. The ID of the map to display, defaults to
{{#var:mapID}}
as set by Template:Area infobox based on input parameters. - zoom
- Initial zoom level for the map. Default is 4.
- height
- width
- Height and width of the map pane, in pixels. Default for both is 800.
- clear
- The type of clear applied around the map container. Choices of left, right, or both. Defaults to left.
Example wikicode[править]
{{Zone map v2|map=15|width=800}}
{{#Widget:Zone map v2|map=15|zoom=4|width=800|height=400|clear=left}}