Template:Infobox/row: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(Created page with '{{#if:{{{header|}}} |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr> |{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|...')
 
No edit summary
Line 1: Line 1:
{{#if:{{{header|}}}
<noinclude><pre></noinclude>{{#if:{{{header|}}}
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
  |{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|1}}|example}}
  |{{#if:{{{data|}}}
  |<tr>{{#if:{{{label|}}}
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th style="{{{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>
  }}
  }}
}}
}}<noinclude></pre></noinclude>

Revision as of 21:38, 7 May 2013

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