Template:Upkeep

From Guild Wars 2 Wiki
Jump to navigationJump to search

Upkeep

Description[edit]

Displays the upkeep icon and the upkeep cost. If the value is 0, the icon isn't displayed. If the value is omitted, the icon is displayed by itself. If you wish to omit the upkeep icon when using this in template or other places, set the default value passed to this template as 0.

Usage[edit]

{{upkeep}}
{{upkeep|<cost>}}

Parameters[edit]

1 (unnamed parameter)
Optional. Cost of upkeep per second.

Examples[edit]

Parameter Code Output
{{upkeep}} Upkeep
5 {{upkeep|5}} 5 Upkeep
0.5 {{upkeep|0.5}} 0.5 Upkeep
0 {{upkeep|0}}

See also[edit]