Template:Parse tier

From Guild Wars 2 Wiki
Jump to: navigation, search


Usage[edit]

This template is used to find the sum of achievement points rewarded by each tier in an achievement. The primary use is to format a query for achievements in an achievement category or activity in the {{achievement table header}}. #var:table_tier_total is used to track the value in between achievements.

{{parse tier|
<tier>;<value>
...
<tier>;<value>
}}

Parameters[edit]

Unnamed parameter 1
A list of tiers separated by a ~, formatted as <tier>;<value>.


Examples[edit]

{{parse tier|Traders Met: 1;3~Traders Met: 3;3~Traders Met: 5;3}}
{{#var:table_tier_total}}

9

{{parse tier|Traders Met: 1;3~Traders Met: 3;3~Traders Met: 5;3|20}}
{{#var:table_tier_total}}

29