Template:TroopCostGold
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Template Description
Shows a specified troop's Gold cost. The troop can be specified by name or by the id it has in the Module:Troops/data. When no troop is found -1 will be shown.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the troop | String | suggested |
raw | raw | Whether number formatting should be ignored
| Unknown | optional |
Examples
{{TroopCostGold}}
−1
{{TroopCostGold|Sand Strider}}
−1
{{TroopCostGold|Lava Jaw}}
−1
{{TroopCostGold|name = Longbowman}}
0
{{TroopCostGold|name = bANSHEE}}
−1
{{TroopCostGold|name = banana}}
−1
{{TroopCostGold|name = 3}}
0
{{TroopCostGold|id = 3}}
−1
{{TroopCostGold|3}}
0