Template:TroopDefense/doc
Jump to navigation
Jump to search
Template Description
Shows a specified troop's statistic. 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
{{TroopDefense}}
−1
{{TroopDefense|Longbowman}}
30
{{TroopDefense|Lava Jaw}}
−1
{{TroopDefense|name = Porter}}
10
{{TroopDefense|name = mINOTAUR}}
45
{{TroopDefense|name = banana}}
−1
{{TroopDefense|name = 3}}
40
{{TroopDefense|id = 3}}
−1
{{TroopDefense|3}}
40