Template:Dynamic map label

From Guild Wars 2 Wiki
Jump to navigationJump to search

Usage[edit]

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", "waypoint", "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 "m" both work). Defaults to white color.

Notes[edit]

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