Difference between revisions of "Template:Infobox/row"
(This part should stay on the outside) |
({{{data}}} should be at the start of a line) |
||
Line 4: | Line 4: | ||
|<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | |<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="{{{class|}}}" style="{{{datastyle|}}}">{{{data}}}</td> | + | <td class="{{{class|}}}" style="{{{datastyle|}}}"> |
+ | {{{data}}}</td> | ||
|<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td> | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td> | ||
}}</tr> | }}</tr> | ||
}} | }} | ||
}}<noinclude></pre></noinclude> | }}<noinclude></pre></noinclude> |
Revision as of 01:08, 27 November 2012
</noinclude>{{#if:{{{header|}}} |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> |{{#if:{{{data|}}} |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> <td class="{{{class|}}}" style="{{{datastyle|}}}"> {{{data}}}</td> |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td> }}</tr> }} }}<noinclude>