Template:Infobox: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{title|}}}|<caption class="{{{t...")
m (1 revision imported: Import from the OldWiki merger)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!--
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
  Caption
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
  Header
  Header
-->{{#if:{{{above|}}}|{{Infobox/row
-->{{#if:{{{above|}}}|{{Infobox/row
  |header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
  |header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
  |class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
  |class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
}} }}<!--
  Subheader1
  Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
-->{{#if:{{{subheader|}}}|{{Infobox/row
  |data={{{subheader|{{{subheader1|}}}}}}
  |data={{{subheader}}}     |datastyle={{{subheaderstyle|}}}
|datastyle={{{subheaderstyle|}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass1|}}}
  |class={{{subheaderclass|}}}
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
}} }}<!--
}} }}<!--
  Subheader2
  Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
-->{{#if:{{{subheader2|}}}|{{Infobox/row
  |data={{{subheader2}}}
  |data={{{subheader2}}}     |datastyle={{{subheaderstyle|}}}
|datastyle={{{subheaderstyle|}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass2|}}}
  |class={{{subheaderclass|}}}
|rowclass={{{subheaderrowclass2|}}}
}} }}<!--
}} }}<!--
  Image1
  Image1
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}     |datastyle={{{imagestyle|}}}
|datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass1|}}}
  |class={{{imageclass|}}}
|rowclass={{{imagerowclass1|}}}
}} }}<!--
}} }}<!--
  Image2
  Image2
-->{{#if:{{{image2|}}}|{{Infobox/row
-->{{#if:{{{image2|}}}|{{Infobox/row
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}     |datastyle={{{imagestyle|}}}
|datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass2|}}}
  |class={{{imageclass|}}}
|rowclass={{{imagerowclass2|}}}
}} }}<!--
}} }}<!--
-->{{Infobox/row
-->{{Infobox/row
Line 439: Line 431:
  Navbar
  Navbar
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
{{#ifeq:{{{child|}}}|yes||</table>}}{{#switch:{{lc:{{{italic title|¬}}}}}
</table><noinclude>[[Category:Root]]</noinclude>
|¬|no      = <!-- no italic title -->
||force|yes = {{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}
}}<noinclude>
[[Category:Utility templates]]
</noinclude>

Latest revision as of 15:26, 6 May 2022