Template:Infobox/row
From WikiBrite: The Rainbow Brite WIki
(Difference between revisions)
RainbowBrite (Talk | contribs) |
RainbowBrite (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{#if:{{{header|}}} | {{#if:{{{header|}}} | ||
- | |<tr><th colspan="2" class="{{{class|}}}" style="text-align: | + | |<tr><th colspan="2" class="{{{class|}}}" style="text-align:left; {{{headerstyle|}}}">{{{header}}}</th></tr> |
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
|<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | ||
|<th style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | |<th style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | ||
<td class="{{{class|}}}" style="{{{datastyle|}}}"> | <td class="{{{class|}}}" style="{{{datastyle|}}}"> | ||
- | |<td colspan="2" class="{{{class|}}}" style="text-align: | + | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> |
}}{{{data}}}</td></tr> | }}{{{data}}}</td></tr> | ||
}} | }} | ||
}} | }} |