Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox/row"

(Created page with '* Template:! |<noinclude>{{template doc}}</noinclude>')
 
m (1 revision: further templates for Infobox)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
* Template:! |<noinclude>{{template doc}}</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 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>
 +
}}
 +
}}

Latest revision as of 17:03, 18 October 2010