Difference between revisions of "Template:Infobox/row"
(create row subtemplate) |
(simplify) |
||
Line 1: | Line 1: | ||
{{#if:{{{header|}}} | {{#if:{{{header|}}} | ||
|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr> | |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr> | ||
− | |{{#if:{{{ | + | |{{#if:{{{data|}}} |
− | + | <tr>{{#if:{{{label|}}} | |
− | | | + | |<th style="{{{labelstyle|}}}">{{{label|}}}</th> |
− | + | <td class="{{{class|}}}" style="{{{datastyle|}}}"> | |
− | + | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> | |
− | + | }}{{{data|}}}</td></tr> | |
− | |||
− | |||
− | | | ||
− | |||
}} | }} | ||
}} | }} |