Template:Event bar
From Guild Wars 2 Wiki
Jump to navigationJump to search
Usage[edit]
{{Event bar}}
Parameters[edit]
- 1 (unnamed parameter)
- Optional. The percentage of progress bar. Defaults to
100. Also acceptsemptyto set bar to 2. - color
- Optional. Available options:
green
magenta
salmon
blue
lime
black
white
defiance
orange
red
aggression
awe
anxiety
despair
joy
judgement
jormag (hard coded screenshot)
primordus (hard coded screenshot)
Defaults to orange.
Allows for any custom hex codes or any recognized CSS color names.
- width
- Optional. Horizontal size of bar in pixels, defaults to 198.
Examples[edit]
{{Event bar}}
{{Event bar|empty}}
{{Event bar|2}}
{{Event bar|75|color=green}}
{{Event bar|100|color=magenta}}
{{Event bar|80|color=salmon}}
{{Event bar|75|color=blue|width=300}}
{{Event bar|75|color=lime}}
{{Event bar|75|color=olive}} <!-- (default CSS) -->
{{Event bar|75|color=yellow}} <!-- (default CSS) -->
{{Event bar|75|color=defiance}}
{{Event bar|75|color=joy}}
{{Event bar|50|color=#03fc9d}}
{{Event bar|color=jormag}} <!-- (override screenshot, other properties ignored) -->
See also[edit]
- {{Event bar empty}}
- {{Event icon}}