|     |   | 
| Line 1: | Line 1: | 
| − | <includeonly><table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; margin: 0 0 1em 1em;}} {{{bodystyle|}}}"> | + | <includeonly>{{#if:{{{header|}}} | 
| − | <!--
 | + |   |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | 
| − |  Title
 | + |   |{{#if:{{{data|}}} | 
| − | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 | + |    |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | 
| − |   Header | + |    |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th><td class="{{{class|}}}" style="{{{datastyle|}}}"> | 
| − | -->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
 | + |    |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> | 
| − | {{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
 | + |    }} | 
| − |  Image
 | + | {{{data}}}</td></tr> | 
| − | -->{{#if:{{{image|}}}|{{Infobox/row
 | + |   }} | 
| − |   |data={{{image}}}{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|}}}</span>}} | + | }}</includeonly><noinclude> | 
| − |  |datastyle={{{imagestyle|}}}
 |  | 
| − |  |class={{{imageclass|}}}
 |  | 
| − |  |rowclass={{{imagerowclass|}}}
 |  | 
| − | }} }}<!--
 |  | 
| − |  Data rows
 |  | 
| − | -->{{Infobox/row
 |  | 
| − |  |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={{{class4|}}}   |rowclass={{{rowclass4|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header5|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label5|}}}  |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data5|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class5|}}}   |rowclass={{{rowclass5|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header6|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label6|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data6|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class6|}}}   |rowclass={{{rowclass6|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header7|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label7|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data7|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class7|}}}  |rowclass={{{rowclass7|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header8|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label8|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data8|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class8|}}}   |rowclass={{{rowclass8|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header9|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label9|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data9|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class9|}}}   |rowclass={{{rowclass9|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header10|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label10|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data10|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class10|}}}  |rowclass={{{rowclass10|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header11|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label11|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data11|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class11|}}} |rowclass={{{rowclass11|}}}
 |  | 
| − | }}{{Infobox/row |  | 
| − |  |header={{{header12|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label12|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data12|}}}    |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class12|}}}   |rowclass={{{rowclass12|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header13|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label13|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data13|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class13|}}}   |rowclass={{{rowclass13|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header14|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |   |label={{{label14|}}}   |labelstyle={{{labelstyle|}}} |  | 
| − |  |data={{{data14|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class14|}}}   |rowclass={{{rowclass14|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header15|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label15|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data15|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class15|}}}   |rowclass={{{rowclass15|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header16|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label16|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data16|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class16|}}}   |rowclass={{{rowclass16|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header17|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label17|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data17|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class17|}}}   |rowclass={{{rowclass17|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header18|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label18|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data18|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class18|}}}   |rowclass={{{rowclass18|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header19|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label19|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data19|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class19|}}}   |rowclass={{{rowclass19|}}}
 |  | 
| − | }}{{Infobox/row
 |  | 
| − |  |header={{{header20|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label20|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data20|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class20|}}}   |rowclass={{{rowclass20|}}}
 |  | 
| − | }}
 |  | 
| − | {{Infobox/row
 |  | 
| − |  |header={{{header21|}}} |headerstyle={{{headerstyle|}}}
 |  | 
| − |  |label={{{label21|}}}   |labelstyle={{{labelstyle|}}}
 |  | 
| − |  |data={{{data21|}}}     |datastyle={{{datastyle|}}}
 |  | 
| − |  |class={{{class21|}}}   |rowclass={{{rowclass21|}}}
 |  | 
| − | }}
 |  | 
| − | </table></includeonly><noinclude>
 |  | 
|  | == Usage == |  | == Usage == | 
|  | + | <pre>{{Infobox/row | 
|  | + |  | header = Header text | 
|  | + |  | class = optional_th_class | 
|  | + |  | headerstyle = optional_th_style | 
|  | + | }}</pre> | 
|  | + | <pre>{{Infobox/row | 
|  | + |  | label = Optional label text | 
|  | + |  | data = Actual data | 
|  | + |  | rowclass = optional_tr_class | 
|  | + |  | class = optional_td_class | 
|  | + |  | labelstyle = optional_th_style | 
|  | + |  | datastyle = optional_td_style | 
|  | + | }}</pre> | 
|  | + |  | 
|  | + | === Template Attributes === | 
|  | + | {| class="wikitable" | 
|  | + |  ! name | 
|  | + |  ! description | 
|  | + |  |- | 
|  | + |  ! header | 
|  | + |  | Header Text, if a this row is a header | 
|  | + |  |- | 
|  | + |  ! data | 
|  | + |  | Data Text, if this row is not a header | 
|  | + |  |- | 
|  | + |  ! label | 
|  | + |  | Optional label Text, if this row is not a header | 
|  | + |  |} | 
|  | + |  | 
|  | == See also == |  | == See also == | 
| − | * {{tl|Infobox/row}} | + | * {{tl|Infobox/begin}} | 
|  | + | * {{tl|Infobox/end}} | 
|  | + | * {{tl|Infobox}} | 
|  |  |  |  | 
|  | [[Category:Infobox]]</noinclude> |  | [[Category:Infobox]]</noinclude> |