Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(Moving widht back in, as it is template specific.)
(Above does not require infobox/row (sandbox tested))
Line 3: Line 3:
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
  Header
 
  Header
-->{{#if:{{{above|}}}|{{Infobox/row
+
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
+
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
+
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
+
 
  Subheader1
 
  Subheader1
 
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
 
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row

Revision as of 17:36, 13 May 2011

[edit] [purge] 50px Template documentation

(edit)