Open main menu

Changes

Template:Infobox

629 bytes added, 15:57, 6 September 2009
pass rowclass parameters to /row
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
Header
-->{{#if:{{{above|}}}|<tr><td th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</tdth></tr>}}<!-- Subheader 1Subheader1-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1|}}}}}}</td></tr>}}<!-- Subheader 2Subheader2
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
Image 1Image1-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image|{{{image1|}}}}}} {{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1|}}}}}}</span> }}</td></tr>}}<!-- Image 2Image2-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<!-- 
-->{{Infobox/row
|header = {{{header1|}}} |headerstyle = {{{headerstyle|}}} |label = {{{label1|}}} |labelstyle = {{{labelstyle|}}} |data = {{{data1|}}} |datastyle = {{{datastyle|}}} |class = {{{class1|}}}}} {{Infobox/row |header = {{{header2|}}} |headerstyle = {{{headerstyle|}}} |label = {{{label2|}}} |labelstyle = {{{labelstyle|}}} |data = {{{data2|}}} |datastyle = {{{datastyle|}}} |class = {{{class2|}}}}} {{Infobox/row |header = {{{header3|}}} |headerstyle = {{{headerstyle|}}} |label = {{{label3|}}} |labelstyle = {{{labelstyle|}}} |data = {{{data3|}}} |datastyle = {{{datastyle|}}} |class = {{{class3|}}}}} {{Infobox/row |header = {{{header4|}}} |headerstyle = {{{headerstyle|}}} |label = {{{label4|}}} |labelstyle = {{{labelstyle|}}} |data = {{{data4|}}} |datastyle = {{{datastyle|}}} |class = {{{class4|}}}}} {{Infobox/ |header={{{header1|}}} |headerstyle={{{headerstyle|}}} |label={{{label1|}}} |labelstyle={{{labelstyle|}}} |data={{{data1|}}} |datastyle={{{datastyle|}}} |class={{{class1|}}} |rowclass={{{rowclass1|}}}}}{{Infobox/row |header={{{header2|}}} |headerstyle={{{headerstyle|}}} |label={{{label2|}}} |labelstyle={{{labelstyle|}}} |data={{{data2|}}} |datastyle={{{datastyle|}}} |class={{{class2|}}} |rowclass={{{rowclass2|}}}}}{{Infobox/row |header={{{header3|}}} |headerstyle={{{headerstyle|}}} |label={{{label3|}}} |labelstyle={{{labelstyle|}}} |data={{{data3|}}} |datastyle={{{datastyle|}}} |class={{{class3|}}} |rowclass={{{rowclass3|}}}}}{{Infobox/row |header={{{header4|}}} |headerstyle={{{headerstyle|}}} |label={{{label4|}}} |labelstyle={{{labelstyle|}}} |data={{{data4|}}} |datastyle={{{datastyle|}}} |class={{
Navbar
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
</table><noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>
Anonymous user