Difference between revisions of "Template:Databox/row"

From LIMSWiki
Jump to navigationJump to search
(Updated code.)
(Experimenting with code.)
Line 1: Line 1:
{{#if:{{{header|}}}
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
  |<tr><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|}}}">
   |<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|}}}">
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
  }}
{{{data}}}</td></tr>
{{{data}}}</td></tr>
  }}
  }}
}}

Revision as of 21:13, 9 May 2012

|{{{header}}} |{{{label}}}