Template:Infobox/doc

From RoR Wiki
Jump to: navigation, search

Template:Infobox is a meta-template used to build infoboxes for Return of Reckoning wiki pages. It is normally called from a more specific infobox template rather than directly from an article.

Basic usage

<syntaxhighlight lang="wikitext">

Example title
Example.png
Example caption
General information
TypeExample data
LocationExample location
Additional information

</syntaxhighlight>

Common parameters

  • name – template name used for navigation links.
  • title – caption displayed above the infobox.
  • above – text displayed in the uppermost cell.
  • subheader – optional text below the title.
  • image and caption – image markup and its caption.
  • header(n) – section heading for row n.
  • label(n) and data(n) – label and content for row n.
  • below – text displayed beneath the main rows.
  • child=yes or subbox=yes – embeds one infobox inside another.
  • decat=yes – suppresses automatic maintenance categories.

Rows are numbered independently, so gaps in the numbering are allowed. A label is displayed only when its matching data field contains content.

Styling

Use the available class and style parameters sparingly. New infoboxes should follow the wiki's existing appearance and avoid fixed widths unless necessary.