Template:Event bonus chest
From Guild Wars 2 Wiki
Jump to navigationJump to search
- Notice: Please add this event's location to the infobox (and/or purge this page's cache) so that this template can output the bonus chest!
WIP[edit]
TODO[edit]
- better name for event types?
- use event type to change some values
- clean up whitespace (rip readability)
- code guidelines?
- handle special events like rifts
- parameter to override values?
- make adding new zones easy
Usage[edit]
Place {{Event bonus chest}} on a page that uses Template:Event infobox, and it will generate the appropriate bonus chest rewards using the location parameter if data is available.
Parameters[edit]
No parameters are required unless default behaviour should be overridden.
- length
- Optional. This parameter should be set to "short" or "long" for events with other drop tables than the default "normal"
- zone
- Optional. This parameter overrides the zone acquired for the event through the location parameter
Examples[edit]
{{Event bonus chest|zone=Mistburned Barrens}}
- One bonus chest containing:
- Ursus Oblige (2-8, 10) (guaranteed)
- Curious Mursaat Ruin Shard (1-2) (guaranteed)
- One of the following:
- One of the following:
{{Event bonus chest|zone=Dragon's End}}
No bonus chest data registered for Dragon's End.
{{Event bonus chest}}
- Notice: Please add this event's location to the infobox (and/or purge this page's cache) so that this template can output the bonus chest!









