Jump to content

Template:BuildingInfobox

From WarExpand Wiki
Revision as of 22:48, 21 August 2026 by Warmaninger (talk | contribs) (Import generated wiki content (units, buildings, fortifications, overview, categories))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.