Jump to content

Template:Infobox/row: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{#if:{{{header|}}}
{{#if:{{{header|}}}
  |<tr><th colspan="2" class="{{{class|color1}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
  |<tr><th colspan="2" class="color1" style="text-align:center">{{{header}}}</th></tr>
  |{{#if:{{{data|}}}
  |{{#if:{{{data|}}}
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<tr>{{#if:{{{label|}}}
   |<th class="color2" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
   |<th scope="row" style="text-align:left">{{{label}}}</th>
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
     <td>
   |<td colspan="2" style="text-align:center; {{{datastyle|}}}">
   |<td colspan="2" style="text-align:center">
   }}{{{data}}}</td></tr>
   }}
{{{data}}}</td></tr>
  }}
  }}
}}
}}