Difference between revisions of "Template:Infobox/row"
Dinoguy1000 (talk | contribs) (self-documenting) |
(Longer, but the old way might be causing some autocorrect problems.) |
||
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|}}}"> | + | <td class="{{{class|}}}" style="{{{datastyle|}}}">{{{data}}}</td></tr> |
− | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> | + | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td></tr> |
}} | }} | ||
− | |||
}} | }} | ||
}}<noinclude></pre></noinclude> | }}<noinclude></pre></noinclude> |
Revision as of 01:00, 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></tr> |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td></tr> }} }} }}<noinclude>