Шаблон:Zone map v2

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

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}}