Template:BuildingInfobox
Appearance
Renders the stat box for one building level, reading Module:Data/Buildings through Module:BuildingStats. Companion to Template:BuildingLevels, which shows every level.
Usage: {{BuildingInfobox|code=metal_mine|level=1}}
- code: the building code used by the game database, for example
metal_mine,barraks,aircraft_factory. - level: building level, defaults to
1.
The numbers come from the game's building data and are refreshed by scripts/export-wiki-data.cjs. Do not correct them here: fix the game data and re-run the export.