Template:BuildingUnlockGenerals/doc

From Survivors of Atlantis Wiki
Jump to navigation Jump to search

Template Description

Shows a specified building's General count unlock. The building can be specified by name or by the id it has in the Module:Buildings/data. When no building is found -1 will be shown.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the building

Stringsuggested
levellevel

The unlock of the building at this specific level

Default
1
Numberoptional

Examples

{{BuildingUnlockGenerals}}
−1

{{BuildingUnlockGenerals|Battle Quarters|1}}
4

{{BuildingUnlockGenerals|science CENTER|2}}
0

{{BuildingUnlockGenerals|name = Farm|level = 3}}
0

{{BuildingUnlockGenerals|name = Farm|3}}
0

{{BuildingUnlockGenerals|Farm|level = 3}}
0

{{BuildingUnlockGenerals|Farm}}
0

{{BuildingUnlockGenerals|level = 3}}
−1

{{BuildingUnlockGenerals|name = Farm|level = text}}
−1

{{BuildingUnlockGenerals|name = banana|level = 4}}
−1

{{BuildingUnlockGenerals|name = 3|level = 5}}
0

{{BuildingUnlockGenerals|id = 3|level = 5}}
−1

{{BuildingUnlockGenerals|3|level = 5}}
0