Module:Infobox/doc
Appearance
This is the documentation page for Module:Infobox
This is the documentation for Module:Infobox, the generic infobox renderer for the Yezur wiki. It is not called directly: wrapper templates such as Template:Infobox polity and Template:Infobox continent map their own named fields onto the slots below and invoke it with {{#invoke:Infobox|render|…}}.
Parameters
| Parameter | Purpose |
|---|---|
title |
The infobox heading. Defaults to the page name when omitted. |
subtitle |
An optional line shown below the title. |
image |
A file name (without the File: prefix), rendered frameless at up to 280 px wide.
|
caption |
An optional caption shown beneath the image. |
headerN |
A full-width section header spanning row N. |
labelN |
The label cell of row N. Shown only alongside a dataN value.
|
dataN |
The value cell of row N. A row is emitted whenever dataN is set; its label is optional.
|
Rows are read in order from N = 1 upward (up to 100); empty values are skipped. Styling is supplied by Template:Infobox/styles.css through TemplateStyles.