Template:TroopCostMetal/doc

From Survivors of Atlantis Wiki
Jump to navigation Jump to search

Template Description

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

{{TroopCostMetal}}
−1

{{TroopCostMetal|Sand Strider}}
−1

{{TroopCostMetal|Lava Jaw}}
−1

{{TroopCostMetal|name = Longbowman}}
300

{{TroopCostMetal|name = bANSHEE}}
−1

{{TroopCostMetal|name = banana}}
−1

{{TroopCostMetal|name = 3}}
100

{{TroopCostMetal|id = 3}}
−1

{{TroopCostMetal|3}}
100