Difference between revisions of "Template:Infobox/row"

From Twinsuniverse
Jump to: navigation, search
m
Line 2: Line 2:
 
{{
 
{{
 
#if: {{{header|}}}
 
#if: {{{header|}}}
|! colspan="2" class="subtitle" {{!}} {{{header}}}
+
|! colspan="2" class="subtitle {{#if: {{{class|}}} |{{{class}}}}}" {{!}} {{{header}}}
 
|{{
 
|{{
 
     #if: {{{data|}}}
 
     #if: {{{data|}}}
Line 9: Line 9:
 
         |! {{{label}}}
 
         |! {{{label}}}
 
{{!}}
 
{{!}}
         |{{!}} colspan="2" {{!}}
+
         |{{!}} colspan="2"
     }} {{{data}}} }}
+
    }}{{
 +
    #if: {{{class|}}}
 +
     | class="{{{class}}}" {{!}}}} {{{data}}} }}
 
}}
 
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 21:57, 18 November 2012

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

Parameters

  • header:
  • label:
  • data:

Syntax

Examples