Шаблон:Zone map — различия между версиями
Материал из Guild Wars 2 wiki
(Новая страница: «<includeonly>{{#Widget:Zone map|zone={{{zone|{{#replace:{{PAGENAME}}|'|'}}}}}|zoom={{{zoom|4}}}|width={{{width|800}}}|height={{{height|400}}}|clear={{{clear|l…») |
(нет различий)
|
Текущая версия на 11:58, 8 апреля 2016
Содержание
Description[править]
This template uses Widget:Zone map, which in turn uses the official map api and Leaflet.js, to display interactive maps on zone pages. Wrapping the widget within a template means that the template usage can be tracked via Special:WhatLinksHere.
Usage[править]
This template can only be used once per page.
Parameters[править]
All parameters are optional.
- zone
- The zone to map. Defaults to the name of the article.
- 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[править]
- See Plains of Ashford for an example.
{{Zone map|zone=Plains of Ashford|width=670}}