Difference between revisions of "Template:Infobox/row"

 
 
Line 3: Line 3:
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th 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|}}}">
 
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
 
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">

Latest revision as of 18:26, 14 August 2011

{{#if:

|<tr><th colspan="2" class="" style="text-align:center; ">{{{header}}}</th></tr>
|{{#if:
 |<tr class="">{{#if:
  |<th scope="row" style="text-align:left; ">{{{label}}}</th>
   <td class="" style="">
  |<td colspan="2" class="" style="text-align:center; ">
 }}

{{{data}}}</td></tr>

}}

}}