Difference between revisions of "Template:Infobox/row"

From Twinsuniverse
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{!-}}
+
<includeonly>{{#if: {{{header|}}}{{{data|}}}
 +
|<tr>
 +
    {{#if: {{{header|}}}
 +
    |<th colspan="2" class="{{{class|subtitle}}}">{{{header}}}</th>
 +
    |{{#if: {{{label|}}}
 +
        |<th>{{{label}}}</th><td
 +
        |<td colspan="2"}} {{#if: {{{class|}}} |class="{{{class}}}"}}>
 +
    {{{data}}}</td> }}
 +
</tr>
 +
}}
 +
</includeonly><!-- includeonly>{{!-}}
 
{{
 
{{
 
#if: {{{header|}}}
 
#if: {{{header|}}}
Line 13: Line 23:
 
{{{data}}} }}
 
{{{data}}} }}
 
}}
 
}}
</includeonly><noinclude>
+
</includeonly --><noinclude>
 
This template is used by [[Template:Infobox]] to add a row to the table.
 
This template is used by [[Template:Infobox]] to add a row to the table.
  

Revision as of 22:04, 20 November 2012

This template is used by Template:Infobox to add a row to the table.

Parameters

  • header:
  • label:
  • data:
  • class:

Syntax

Examples