Template:Infobox/row: Difference between revisions
From International Robin Hood Bibliography
m (1 revision) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#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> | ||
}} | }} | ||
}}< | }} | ||
<templatedata> | |||
{ | |||
"params": { | |||
"header": { | |||
"label": "Header", | |||
"description": "The row header", | |||
"type": "string" | |||
}, | |||
"class": { | |||
"label": "Class", | |||
"description": "The CSS class to apply to the row", | |||
"type": "string" | |||
}, | |||
"headerstyle": { | |||
"label": "HeaderStyle", | |||
"description": "The CSS for the row header", | |||
"type": "string" | |||
}, | |||
"data": { | |||
"label": "Data", | |||
"description": "The text or other data to be displayed", | |||
"type": "string" | |||
}, | |||
"rowclass": { | |||
"label": "RowClass", | |||
"description": "The CSS class to apply to the row" | |||
}, | |||
"label": { | |||
"label": "Label", | |||
"description": "The row label", | |||
"type": "string" | |||
}, | |||
"labelstyle": { | |||
"label": "LabelStyle", | |||
"description": "The CSS style to apply to the label", | |||
"type": "string" | |||
}, | |||
"datastyle": { | |||
"label": "DataStyle", | |||
"description": "The CSS style to apply to the row data", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Generates a row in an infobox; used by Infobox template; not for human use." | |||
} | |||
</templatedata> |
Revision as of 10:53, 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 |