Template:BuildingUnlockGenerals/doc
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the building | String | suggested |
level | level | The unlock of the building at this specific level
| Number | optional |
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