Template:Infobox
More actions
Infobox
The universal infobox. Whatever parameter name you write becomes the row label. Add a new field by adding a new parameter — no Lua, no template edits, no module changes.
Reserved keys (not rendered as rows)
| Key | What it does |
|---|---|
type |
Category chip shown above the title (e.g. character → "Character"). Optional.
|
name |
Big title at the top. Defaults to the page name. |
subtitle |
Italic line under the title. Optional. |
image |
Filename (no File: prefix). Optional.
|
caption |
Caption under the image. Optional. |
order |
Comma-separated list of field names that should render first, in that order. Anything else renders alphabetically after them. Optional. |
Every other parameter
Every other parameter you pass becomes a row in the infobox. The parameter name becomes the label.
Underscores and dashes in keys are converted to spaces and the first letter is capitalised, so:
race→ label "Race"first_appeared→ label "First appeared"Voiced by→ label "Voiced by"
Row order
- If you don't set
order, rows appear in alphabetical order
by field name.
- If you set
order = Race, Alignment, Occupation, …, those fields
render first in that order; anything else renders alphabetically after.
Example
{{Infobox
| type = character
| name = Hero of Albion
| subtitle = ''Wielder of the Will''
| image = Placeholder-hero.png
| order = Race, Alignment, Occupation, Affiliation, Homeland, First appeared, Status
| Race = Human
| Alignment = Determined by the player
| Occupation = Adventurer
| Affiliation = Heroes' Guild
| Homeland = Bowerstone, Albion
| First appeared = Fable (2026)
| Status = Alive
}}
Adding a new field
Just add a new | Field name = value line to the infobox call in
the article. The new row will appear (alphabetically by default, or wherever
you list it in order). Nothing else to do.
Customising appearance
Colours and shape live in Template:Infobox/styles.css (TemplateStyles). The site-wide palette is in MediaWiki:Citizen.css; edit the CSS variables at the top of that page to recolour every infobox at once.