Template:Infobox row/doc
Jump to navigation
Jump to search
Documentation
[purge]
This is a skeleton for infobox rows, for use in {{infobox}}
.
Adapted from Minecraft Wiki.
Usage
{{infobox row | label | field }}
Alternatively, you can use the named parameter {{{label}}}
as a substitute for {{{1}}}
, and {{{field}}}
as a substitute for {{{2}}}
.
The parameter {{{class}}}
can be added to add a class to the contents of the row.
Example
{{infobox |image=Caves_of_qud_logo.png |rows= {{infobox row|Name|Qud Object}} {{infobox row|label=Faction|field=Grazing Hedonists}} {{infobox row|field=<div style="text-align:center;border-top:var(--infobox-border);border-bottom:var(--infobox-border);">Specify <code>field</code> without a <code>label</code> to span both columns. For example, maybe you'd do this for a section header</div>}} {{infobox row|class=custom-css-class|Custom|<this row has custom-css-class>}} {{infobox row|label=Stats|field=etc}} }}
will output