Difference between revisions of "Template:Infobox/row"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 5: Line 5:
 
     |{{#if: {{{label|}}}
 
     |{{#if: {{{label|}}}
 
         |<th>{{{label}}}</th><td  
 
         |<th>{{{label}}}</th><td  
         |<td colspan="2"}}{{#if: {{{class|}}} | class="{{{class}}}"}}>
+
         |<td colspan="2" }} {{#if: {{{class|}}} | class="{{{class}}}"}}>
 
{{{data}}}</td> }}
 
{{{data}}}</td> }}
 
</tr>
 
</tr>
 
}}
 
}}
</includeonly><!-- includeonly>{{!-}}
+
</includeonly><noinclude>
{{
+
#if: {{{header|}}}
+
|! colspan="2" class="{{{class|subtitle}}}" {{!}} {{{header}}}
+
|{{
+
    #if: {{{data|}}}
+
    |{{
+
        #if: {{{label|}}}
+
        |! {{{label}}}
+
{{!}}
+
        |{{!}} colspan="2"
+
    }} {{#if: {{{class|}}} |class="{{{class}}}"}} {{!}}
+
{{{data}}} }}
+
}}
+
</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:49, 20 November 2012

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

Parameters

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

Syntax

Examples