Template:Infobox: Difference between revisions
From RoR Wiki
Stah>Primefac (Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted) |
(Created page with "{{#invoke:Infobox|infobox}}<noinclude> {{documentation}}</noinclude>") |
||
| Line 1: | Line 1: | ||
{{#invoke:Infobox|infobox}} | {{#invoke:Infobox|infobox}}<noinclude> | ||
{{documentation}} | |||
{{documentation}}</noinclude> | |||
</noinclude> | |||
Revision as of 09:15, 18 February 2021
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 caption | |
| General information | |
|---|---|
| Type | Example data |
| Location | Example 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.imageandcaption– image markup and its caption.header(n)– section heading for rown.label(n)anddata(n)– label and content for rown.below– text displayed beneath the main rows.child=yesorsubbox=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.
