Template:Infobox: Difference between revisions

Jump to navigation Jump to search
Moving widht back in, as it is template specific.
No edit summary
(Moving widht back in, as it is template specific.)
Line 1: Line 1:
<table lass="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; float:right; {{{bodystyle|}}}"><!--
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!--
  Caption
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{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|}}}|{{Infobox/row
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
  |data={{{subheader}}}     |datastyle={{{subheaderstyle|}}}
  |data={{{subheader|{{{subheader1|}}}}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass1|}}}
|datastyle={{{subheaderstyle|}}}
  |class={{{subheaderclass|}}}
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
}} }}<!--
}} }}<!--
  Subheader2
  Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
-->{{#if:{{{subheader2|}}}|{{Infobox/row
  |data={{{subheader2}}}     |datastyle={{{subheaderstyle|}}}
  |data={{{subheader2}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass2|}}}
|datastyle={{{subheaderstyle|}}}
  |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>}}     |datastyle={{{imagestyle|}}}
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass1|}}}
|datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}
|rowclass={{{imagerowclass1|}}}
}} }}<!--
}} }}<!--
  Image2
  Image2
-->{{#if:{{{image2|}}}|{{Infobox/row
-->{{#if:{{{image2|}}}|{{Infobox/row
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}     |datastyle={{{imagestyle|}}}
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass2|}}}
|datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}
|rowclass={{{imagerowclass2|}}}
}} }}<!--
}} }}<!--
-->{{Infobox/row
-->{{Infobox/row
Line 430: Line 438:
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
  Navbar
  Navbar
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
</table><noinclude>
{{#ifeq:{{{child|}}}|yes||</table>}}{{#switch:{{lc:{{{italic title|¬}}}}}
{{pp-template|small=yes}}
|¬|no      = <!-- no italic title -->
||force|yes = {{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu