Template:TroopDefense/doc

From Survivors of Atlantis Wiki
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.

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

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