The wiki upgrade is complete. If you notice anything that seems to be functioning incorrectly, please file a bug report.
[dismiss]

Template:Dynamic map label

From Guild Wars Wiki
Revision as of 22:01, 26 April 2012 by Chieftain Alex (Talk | contribs)

Jump to: navigation, search


Usage

Used for interactive maps, so that (a) map label content is separated from formatting; (b) so that the formatting can change/evolve without having to redo the maps.

{{Dynamic map label
| label =
| link =
| labeltype =
| profession =
}}
label 
Mandatory. Text to display.
label2 
Optional. Second line of text to display.
link 
Optional. Specify if the link target is different than the label text.
labeltype 
Optional. Specifies text style. Can be one of "explorable", "mission", "outpost", "pvpoutpost", "boss", "collector", "portal", "landmark" or a valid HTML color code. Defaults to "White".
profession 
Optional. If labeltype=boss, specify the color to use. Accepts either full profession names or the usual shorthand, case-insensitive (i.e. "Mesmer" and "me" both work). Defaults to white color.

Examples

Label Input Output
Outpost
{{Dynamic map label
| label = Eternal Grove
| link = Eternal Grove (outpost)
| labeltype = outpost
}} 
pvpoutpost
{{Dynamic map label
| label = Ascalon Arena
| labeltype = pvpoutpost
}}
explorable
{{Dynamic map label
| label = Eternal Grove
| link = Eternal Grove (explorable)
| labeltype = explorable
}}
boss
{{Dynamic map label
| label = Pywatt
| link = Pywatt the Swift
| labeltype = boss
| profession = Warrior, Ranger, etc.
}}
landmark
{{Dynamic map label
| label = Abaddon's Mouth
| link = Abaddon's Mouth (landmark)
| labeltype = landmark
}}
Mission
{{Dynamic map label
| label = Eternal Grove
| labeltype = mission
}}
Portal
{{Dynamic map label
| label = Eternal Grove
| labeltype = portal
}}
Bounty
{{Dynamic map label
| label = Eternal Grove
| labeltype = bounty
}}
Other
{{Dynamic map label
| label = Other label
| labeltype = other
}}

Notes

  • The template is designed to allow different color/size/font for each type of label; there is room to add more label types.
Personal tools