Template:Infobox: Difference between revisions

m
Formatting Changes
(edit border style)
m (Formatting Changes)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; float:right; text-align:left; font-size:88%; line-height:1.5em; margin:1em 1em 1em 0; border:solid 1px #AAAAAA; {{{bodystyle|}}}"><!--
{{{bodyclass|}}}" cellspacing="5" style="width:22em; float:right; text-align:center; font-size:88%; line-height:1.5em; margin:1em 1em 1em 0; border:solid 1px #AAAAAA;
Caption
{{{bodystyle|}}}
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
"&gt;
Header
{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}{{#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|}}}
}} }}<!--
}} }}{{#if:{{{subheader|}}}|{{Infobox/row
Subheader1
-->{{#if:{{{subheader|}}}|{{Infobox/row
  |data={{{subheader}}}    |datastyle={{{subheaderstyle|}}}
  |data={{{subheader}}}    |datastyle={{{subheaderstyle|}}}
  |class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass1|}}}
  |class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass1|}}}
}} }}<!--
}} }}{{#if:{{{subheader2|}}}|{{Infobox/row
Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
  |data={{{subheader2}}}    |datastyle={{{subheaderstyle|}}}
  |data={{{subheader2}}}    |datastyle={{{subheaderstyle|}}}
  |class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass2|}}}
  |class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass2|}}}
}} }}<!--
}} }}{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
Image1
-->{{#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>}}    |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass1|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass1|}}}
}} }}<!--
}} }}{{#if:{{{image2|}}}|{{Infobox/row
Image2
-->{{#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>}}    |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
}} }}<!--
}} }}{{Infobox/row
-->{{Infobox/row
  |header={{{header1|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header1|}}} |headerstyle={{{headerstyle|}}}
  |label={{{label1|}}}  |labelstyle={{{labelstyle|}}}
  |label={{{label1|}}}  |labelstyle={{{labelstyle|}}}
Line 427: Line 417:
  |data={{{data80|}}}    |datastyle={{{datastyle|}}}
  |data={{{data80|}}}    |datastyle={{{datastyle|}}}
  |class={{{class80|}}}  |rowclass={{{rowclass80|}}}
  |class={{{class80|}}}  |rowclass={{{rowclass80|}}}
}}<!-- Below
}}{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
{| fck_mw_template"="" class="infobox <span class="
Navbar
|}
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
<noinclude>
</table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
788

edits