User:CrazyOldMan/Templates/ZoneMapOverlay3

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template formats a zone map overlay

Parameters[edit]

Positional[edit]

the level tag
Required: The experience level of the zone - for example 'city', 1-15 or 80
the first part of the main label
Required: The first part of the name of the zone.
Required: The second part of the name of the zone. ' map.jpg' will be appended to build the name of the map image.

Keyword[edit]

W
Required: The width of the zone map in pixels. This is a fussy value.
X
Required: The offset of the zone map from the left edge of the under map in pixels. This is a fussy value.
Y
Required: The offset of the zone map from the top edge of the under map in pixels. This is a fussy value.
W
Required: The height of the zone map in pixels. This is used to center the label.
T0
Required: The approximate number of character in the first part of the main label. This is used to center the first part of the main label.
T1
Required: The approximate number of character in the second part of the main label. This is used to center the second part of the main label.
t
Optional: The approximate number of character in the level tag. This is used to center the tag.

Example[edit]

<div style="position: relative;">
[[File:Ascalon map.jpg           |400px|Inaccessible]]
{{User:CrazyOldMan/Templates/LabeledMapOverlay|city|Black Citadel|X=10|Y=245.5|H=70|W=67|T=13.6|t=4}}
</div>

Result[edit]

Inaccessible


Black
Citadel
(city)
Black Citadel (city)