Difference between revisions of "Template:Infobox/row"
From Unofficial Fantasica Wiki
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#if:{{{header|}}} | |
− | |<tr><th colspan="2" class=" | + | |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> |
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
− | |<tr class=" | + | |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} |
|<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | ||
− | <td class=" | + | <td class="{{{class|}}}" style="{{{datastyle|}}}"> |
− | |<td colspan="2" class=" | + | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> |
}} | }} | ||
{{{data}}}</td></tr> | {{{data}}}</td></tr> | ||
}} | }} | ||
− | }} | + | }} |