Jump to content

Template:UnitInfobox

From WarExpand Wiki
Revision as of 17:41, 19 August 2026 by Admin (talk | contribs) (Seed from wiki/seed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Renders the stat box for one unit tier, reading Module:Data/Units through Module:UnitStats.

Usage: {{UnitInfobox|code=light_infantry|tier=1}}

  • code — the unit code used by the game database, for example light_infantry, heavy_tank, jet_fighter.
  • tier — tier number, defaults to 1.

The numbers come straight from the game's units_tier table and are refreshed by scripts/export-wiki-data.cjs. Do not correct them here — fix the game data and re-run the export.