Template:Infobox

Current answers. Practical procedures. Reliable reference.
Jump to navigation Jump to search
Infobox
No image available

Usage

A generic, right-floated reference infobox — styling lives in MediaWiki:Common.css (.edfm-infobox), not inline, so it stays consistent and easy to retheme later.

{{Infobox
 |name = Display title (defaults to the page name)
 |image = Filename.png (optional)
 |label1 = Type     |row1 = Multipurpose
 |label2 = Manufacturer |row2 = ...
 |label3 = ...      |row3 = ...
}}

Up to 12 label/row pairs (extended 2026-08-07 for the Engineer infobox, which needs around 10 — see [[Elite Dangerous Field Manual:Engineering Architecture]]). No matching CSS change was needed to extend this: the .edfm-infobox-row class in Common.css isn't numbered per-row, so any number of rows renders correctly with the existing styles. If a future article genuinely needs more than 12, add further rowN/labelN pairs here the same way.

The image slot always renders directly under the title, whether or not |image= is set (added 2026-08-07 for the Engineer roster, none of which have portrait images yet). With no |image=, it shows a dashed-border "No image available" placeholder (.edfm-infobox-image-placeholder in Common.css) instead of disappearing, so editors can see at a glance where a portrait belongs and readers aren't left wondering if something failed to load.

Optional group headers (2026-08-08, backward compatible — omit entirely and the infobox renders exactly as before): |groupN= inserts a small section label immediately before rowN. Use this to break a long infobox into scannable groups, e.g. an Engineer infobox split into "ENGINEER" (type/system/facility/specialties/grade) and "ACCESS" (prerequisite/discovery/invitation/unlock):

{{Infobox
 |name = The Dweller
 |group1 = ENGINEER
 |label1 = Engineer type |row1 = ...
 |label2 = System |row2 = ...
 |group6 = ACCESS
 |label6 = Prerequisite |row6 = ...
}}

Only add a groupN where a new group genuinely starts — most infoboxes on this wiki don't need grouping at all, and adding one to every single row would just add visual noise.