Total War: WARHAMMER Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
General info
Warhammer I
Warhammer II
Warhammer III
DLC
Patches and updates
Campaign
Battle
Multiplayer
Legendary lords
Immortal Empires
The Realm of Chaos
Special buildings
Events
Items
Set piece battles
Races
The Empire
Dwarfs
Greenskins
Vampire Counts
Warriors of Chaos
Beastmen
Wood Elves
Bretonnia
Norsca
High Elves
Dark Elves
Lizardmen
Skaven
Tomb Kings
Vampire Coast
Kislev
Grand Cathay
Khorne
Nurgle
Tzeentch
Slaanesh
Chaos Undivided
Ogre Kingdoms
Chaos Dwarfs
Wiki affairs
Wiki rules
Community discussion
Understanding our infoboxes
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Total War: Warhammer Wiki
10,652
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
General info
Warhammer I
Warhammer II
Warhammer III
DLC
Patches and updates
Campaign
Battle
Multiplayer
Legendary lords
Immortal Empires
The Realm of Chaos
Special buildings
Events
Items
Set piece battles
Races
The Empire
Dwarfs
Greenskins
Vampire Counts
Warriors of Chaos
Beastmen
Wood Elves
Bretonnia
Norsca
High Elves
Dark Elves
Lizardmen
Skaven
Tomb Kings
Vampire Coast
Kislev
Grand Cathay
Khorne
Nurgle
Tzeentch
Slaanesh
Chaos Undivided
Ogre Kingdoms
Chaos Dwarfs
Wiki affairs
Wiki rules
Community discussion
Understanding our infoboxes
Editing
Total War WARHAMMER Wiki:Notes on infoboxes
(section)
Back to page
Edit source
View history
Talk (0)
Edit Page
Total War WARHAMMER Wiki:Notes on infoboxes
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Total War: Warhammer III updates== * With the release of the final Total War game set in the Warhammer Fantasy universe, our infoboxes did change somewhat. The most important element is the inclusion of the id variable (<code>id = </code>), which uses the unit's internal name (eg. <code>wh_main_emp_inf_spearmen_0</code>) to pull data directly from templates. Most of these use the [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##switch #switch] parser function. *The ID is used by the Infobox template to set a variable (<code>unit_id</code>), which is then passed to the different Switch templates automatically: ** [[Template:Melee weapons wh3]] and [[Template:Ranged weapons wh3]] will display the weapons used by the unit. ** [[Template:Unit sizes]] lists all unit sizes. ** [[Template:Unit armor wh3]] lists the corresponding armor templates. *To update the infoboxes with new units, be sure to set the right unit id, then add entries to the above templates as necessary. *'''Note''': The above behavior only happens when corresponding infobox fields are left empty, otherwise, whatever's in the article overrides it. ;Other functions * Notably, the next infobox comes with separate fields for races (<code>race = </code>) and factions (<code>faction = </code>). Race should be input without brackets and will be parsed as-is. Furthermore, the infobox autocategorizes the unit based on the race field ''and'' the type input. For the sake of consistency, top-level categories should only use the top categories found in the army builder menu accessible in the game.
Summary:
Please note that all contributions to the Total War: WARHAMMER Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab