Template:Infobox: Difference between revisions
(Moving widht back in, as it is template specific.) |
(Above does not require infobox/row (sandbox tested)) |
||
Line 3: | Line 3: | ||
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | ||
Header | Header | ||
-->{{#if:{{{above|}}}| | -->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} | ||
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | |||
Subheader1 | Subheader1 | ||
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row | -->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row |