Template:TroopCostGold

From Survivors of Atlantis Wiki
Jump to navigation Jump to search

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.

Template parameters[Edit template data]

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

{{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