Difference between revisions of "Template:Infobox"

From Asenjo
Jump to: navigation, search
Line 3: Line 3:
 
  |border-spacing: 3px; width:22em;
 
  |border-spacing: 3px; width:22em;
 
}} {{{bodystyle|}}}"><!--
 
}} {{{bodystyle|}}}"><!--
 +
Caption
 +
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 +
Header
 +
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
 +
}}{{#ifeq:{{{child|}}}|yes|{{{title|}}}}}<!--
 +
Subheader1
 +
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
 +
|data={{{subheader|{{{subheader1|}}}}}}
 +
|datastyle={{{subheaderstyle|{{{subheaderstyle1|}}}}}}
 +
|class={{{subheaderclass|}}}
 +
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
 +
}} }}<!--

Revision as of 21:17, 31 May 2013

{{#ifeq:|yes||{{#if:|}}{{#if:|}} }}{{#ifeq:|yes|}}{{#if:|Template:Infobox/row }}
{{{title}}}
{{{above}}}