Difference between revisions of "Template:Infobox/row"

From OpenGL Wiki
Jump to navigation Jump to search
(Line padding.)
(Line padding.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |<tr valign="top" style="padding-bottom: 5px;"><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; padding-bottom: 5px; {{{headerstyle|}}}">{{{header}}}</th></tr>
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
   |<tr class="{{{rowclass|}}}" valign="top" style="padding-bottom: 5px;">{{#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; padding-bottom: 0.5em; {{{labelstyle|}}}">{{{label}}}</th>
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
+
     <td class="{{{class|}}}" style="padding-bottom: 0.5em; {{{datastyle|}}}">
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
+
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; padding-bottom: 0.5em; {{{datastyle|}}}">
 
   }}
 
   }}
 
{{{data}}}</td></tr>
 
{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}

Latest revision as of 08:22, 17 August 2012