Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{{ | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!-- | ||
Caption | Caption | ||
-->{{#if:{{{title|}}}|< | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | ||
Header | Header | ||
-->{{#if:{{{above|}}}|{{Infobox/row | |||
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}} | |||
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}} | |||
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | |||
Subheader1 | |||
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row | |||
|data={{{subheader|{{{subheader1|}}}}}} | |||
|datastyle={{{subheaderstyle|}}} | |||
|class={{{subheaderclass|}}} | |||
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | |||
}} }}<!-- | |||
Subheader2 | |||
-->{{#if:{{{subheader2|}}}|{{Infobox/row | |||
|data={{{subheader2}}} | |||
|datastyle={{{subheaderstyle|}}} | |||
|class={{{subheaderclass|}}} | |||
|rowclass={{{subheaderrowclass2|}}} | |||
}} }}<!-- | |||
Image1 | |||
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row | |||
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption | |||
Revision as of 12:16, 20 February 2011
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}