User:CrazyOldMan/Templates/LabeledMapOverlay

From Guild Wars 2 Wiki
Jump to: navigation, 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 main label
Required: 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.
T
Required: The approximate number of character in the main label. This is used to center 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)