Template:Infobox: Difference between revisions

Template page
(Now you can style rows)
m (Nowiki doesn't work to add spaces)
Line 6: Line 6:
================
================
-->{{#if: {{{header1|}}}{{{data1|}}}
-->{{#if: {{{header1|}}}{{{data1|}}}
|<tr{{#if: {{{rowstyle1|}}}|<nowiki> </nowiki>style="{{{rowstyle1}}}"}}>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header1}}}</th>
|<tr{{#if: {{{rowstyle1|}}}|&#32;style="{{{rowstyle1}}}"}}>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header1}}}</th>
|{{#if: {{{label1|}}}
|{{#if: {{{label1|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label1}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data1}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label1}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data1}}}</td>
Line 16: Line 16:
================
================
-->{{#if: {{{header2|}}}{{{data2|}}}
-->{{#if: {{{header2|}}}{{{data2|}}}
|<tr{{#if: {{{rowstyle2|}}}|<nowiki> </nowiki>style="{{{rowstyle2}}}"}}>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header2}}}</th>
|<tr{{#if: {{{rowstyle2|}}}|&#32;style="{{{rowstyle2}}}"}}>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header2}}}</th>
|{{#if: {{{label2|}}}
|{{#if: {{{label2|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label2}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data2}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label2}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data2}}}</td>
Line 26: Line 26:
================
================
-->{{#if: {{{header3|}}}{{{data3|}}}
-->{{#if: {{{header3|}}}{{{data3|}}}
|<tr{{#if: {{{rowstyle3|}}}|<nowiki> </nowiki>style="{{{rowstyle3}}}"}}>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header3}}}</th>
|<tr{{#if: {{{rowstyle3|}}}|&#32;style="{{{rowstyle3}}}"}}>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header3}}}</th>
|{{#if: {{{label3|}}}
|{{#if: {{{label3|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label3}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data3}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label3}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data3}}}</td>
Line 36: Line 36:
================
================
-->{{#if: {{{header4|}}}{{{data4|}}}
-->{{#if: {{{header4|}}}{{{data4|}}}
|<tr{{#if: {{{rowstyle4|}}}|<nowiki> </nowiki>style="{{{rowstyle4}}}"}}>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header4}}}</th>
|<tr{{#if: {{{rowstyle4|}}}|&#32;style="{{{rowstyle4}}}"}}>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header4}}}</th>
|{{#if: {{{label4|}}}
|{{#if: {{{label4|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label4}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data4}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label4}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data4}}}</td>
Line 46: Line 46:
================
================
-->{{#if: {{{header5|}}}{{{data5|}}}
-->{{#if: {{{header5|}}}{{{data5|}}}
|<tr{{#if: {{{rowstyle5|}}}|<nowiki> </nowiki>style="{{{rowstyle5}}}"}}>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header5}}}</th>
|<tr{{#if: {{{rowstyle5|}}}|&#32;style="{{{rowstyle5}}}"}}>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header5}}}</th>
|{{#if: {{{label5|}}}
|{{#if: {{{label5|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label5}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data5}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label5}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data5}}}</td>
Line 56: Line 56:
================
================
-->{{#if: {{{header6|}}}{{{data6|}}}
-->{{#if: {{{header6|}}}{{{data6|}}}
|<tr{{#if: {{{rowstyle6|}}}|<nowiki> </nowiki>style="{{{rowstyle6}}}"}}>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header6}}}</th>
|<tr{{#if: {{{rowstyle6|}}}|&#32;style="{{{rowstyle6}}}"}}>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header6}}}</th>
|{{#if: {{{label6|}}}
|{{#if: {{{label6|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label6}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data6}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label6}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data6}}}</td>
Line 66: Line 66:
================
================
-->{{#if: {{{header7|}}}{{{data7|}}}
-->{{#if: {{{header7|}}}{{{data7|}}}
|<tr{{#if: {{{rowstyle7|}}}|<nowiki> </nowiki>style="{{{rowstyle7}}}"}}>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header7}}}</th>
|<tr{{#if: {{{rowstyle7|}}}|&#32;style="{{{rowstyle7}}}"}}>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header7}}}</th>
|{{#if: {{{label7|}}}
|{{#if: {{{label7|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label7}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data7}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label7}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data7}}}</td>
Line 76: Line 76:
================
================
-->{{#if: {{{header8|}}}{{{data8|}}}
-->{{#if: {{{header8|}}}{{{data8|}}}
|<tr{{#if: {{{rowstyle8|}}}|<nowiki> </nowiki>style="{{{rowstyle8}}}"}}>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header8}}}</th>
|<tr{{#if: {{{rowstyle8|}}}|&#32;style="{{{rowstyle8}}}"}}>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header8}}}</th>
|{{#if: {{{label8|}}}
|{{#if: {{{label8|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label8}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data8}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label8}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data8}}}</td>
Line 86: Line 86:
================
================
-->{{#if: {{{header9|}}}{{{data9|}}}
-->{{#if: {{{header9|}}}{{{data9|}}}
|<tr{{#if: {{{rowstyle9|}}}|<nowiki> </nowiki>style="{{{rowstyle9}}}"}}>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header9}}}</th>
|<tr{{#if: {{{rowstyle9|}}}|&#32;style="{{{rowstyle9}}}"}}>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header9}}}</th>
|{{#if: {{{label9|}}}
|{{#if: {{{label9|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label9}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data9}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label9}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data9}}}</td>
Line 96: Line 96:
================
================
-->{{#if: {{{header10|}}}{{{data10|}}}
-->{{#if: {{{header10|}}}{{{data10|}}}
|<tr{{#if: {{{rowstyle10|}}}|<nowiki> </nowiki>style="{{{rowstyle10}}}"}}>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header10}}}</th>
|<tr{{#if: {{{rowstyle10|}}}|&#32;style="{{{rowstyle10}}}"}}>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header10}}}</th>
|{{#if: {{{label10|}}}
|{{#if: {{{label10|}}}
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label10}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data10}}}</td>
   |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label10}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data10}}}</td>

Revision as of 22:31, 27 August 2016