Template:Infobox/row: Difference between revisions
Jump to navigation
Jump to search
(Update to http://en.wikipedia.org/w/index.php?title=Template:Infobox/row&oldid=390844907&action=edit) |
(Vertical alignment on infobox cells.) |
||
Line 1: | Line 1: | ||
{{#if:{{{header|}}} | {{#if:{{{header|}}} | ||
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | |<tr valign="top"><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | ||
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
|<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | |<tr class="{{{rowclass|}}}" valign="top">{{#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|}}}"> |