Template:TroopCostStone/doc

From Survivors of Atlantis Wiki
Jump to navigation Jump to search

Template Description

Shows a specified troop's Stone 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the troop

Stringsuggested
rawraw

Whether number formatting should be ignored

Example
yes
Unknownoptional

Examples

{{TroopCostStone}}
−1

{{TroopCostStone|Sand Strider}}
−1

{{TroopCostStone|Lava Jaw}}
−1

{{TroopCostStone|name = Longbowman}}
0

{{TroopCostStone|name = bANSHEE}}
−1

{{TroopCostStone|name = banana}}
−1

{{TroopCostStone|name = 3}}
0

{{TroopCostStone|id = 3}}
−1

{{TroopCostStone|3}}
0