Template:Infobox/row: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{header|}}} | <includeonly>{{#if:{{{header|}}} | ||
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | ||
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
Line 9: | Line 9: | ||
{{{data}}}</td></tr> | {{{data}}}</td></tr> | ||
}} | }} | ||
}} | }}</includeonly> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 10:54, 23 December 2020
Generates a row in an infobox; used by Infobox template; not for human use.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | header | The row header | String | optional |
Class | class | The CSS class to apply to the row | String | optional |
HeaderStyle | headerstyle | The CSS for the row header | String | optional |
Data | data | The text or other data to be displayed | String | optional |
RowClass | rowclass | The CSS class to apply to the row | Unknown | optional |
Label | label | The row label | String | optional |
LabelStyle | labelstyle | The CSS style to apply to the label | String | optional |
DataStyle | datastyle | The CSS style to apply to the row data | String | optional |