Template:Infobox/row: Difference between revisions

    From Hokuto no Ken Encyclopedia | HnKWiki
    No edit summary
    No edit summary
     
    (2 intermediate revisions by the same user not shown)
    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|}}}
    }}
      |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
    {{#if:{{{data|}}}
      |<th class="color2" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
    |<tr>{{#if:{{{label|}}}
        <td class="{{{class|}}}" style="{{{datastyle|}}}">
      |<th class="color2" scope="row" style="text-align:left">{{{label}}}</th>
      |<td colspan="2" style="text-align:center; {{{datastyle|}}}">
      <td>
      }}{{{data}}}</td></tr>
      |<td colspan="2" style="text-align:center">
      }}
      }}
    {{{data}}}</td></tr>
    }}
    }}

    Latest revision as of 14:22, 13 February 2012