Difference between revisions of "Template:Infobox/row"

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

Revision as of 13:26, 17 November 2012


  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.

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

Parameters

  • header:
  • label:
  • data:

Syntax

Examples