Template:Upkeep
From GW2 Wiki English Mirror
Jump to navigationJump to search
Description
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
{{upkeep}}
{{upkeep|<cost>}}
Parameters
- 1 (unnamed parameter)
- Optional. Cost of upkeep per second.
Examples
| Parameter | Code | Output |
|---|---|---|
{{upkeep}}
|
||
| 5 | {{upkeep|5}}
|
5 |
| 0.5 | {{upkeep|0.5}}
|
0.5 |
| 0 | {{upkeep|0}}
|
See also
- {{Activation}}
- {{Ammunition}}
- {{Energy}}
- {{Health cost}}
- {{Initiative}}
- {{Recharge}}
- {{Infobox statistic split}}