Template:Infobox: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
 
imported>Dinoguy1000
(nope, but it does fix the problem with {{{moduleN}}})
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
  Header
  Header
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|<tr><td>'''{{{title}}}'''</td></tr>}}}}<!--
  Subheader1
  Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
Line 38: Line 38:
  |data={{{data1|}}}    |datastyle={{{datastyle|}}}
  |data={{{data1|}}}    |datastyle={{{datastyle|}}}
  |class={{{class1|}}}  |rowclass={{{rowclass1|}}}
  |class={{{class1|}}}  |rowclass={{{rowclass1|}}}
|module={{{module1|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header2|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header2|}}} |headerstyle={{{headerstyle|}}}
Line 43: Line 44:
  |data={{{data2|}}}    |datastyle={{{datastyle|}}}
  |data={{{data2|}}}    |datastyle={{{datastyle|}}}
  |class={{{class2|}}}  |rowclass={{{rowclass2|}}}
  |class={{{class2|}}}  |rowclass={{{rowclass2|}}}
|module={{{module2|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header3|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header3|}}} |headerstyle={{{headerstyle|}}}
Line 48: Line 50:
  |data={{{data3|}}}    |datastyle={{{datastyle|}}}
  |data={{{data3|}}}    |datastyle={{{datastyle|}}}
  |class={{{class3|}}}  |rowclass={{{rowclass3|}}}
  |class={{{class3|}}}  |rowclass={{{rowclass3|}}}
|module={{{module3|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header4|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header4|}}} |headerstyle={{{headerstyle|}}}
Line 53: Line 56:
  |data={{{data4|}}}    |datastyle={{{datastyle|}}}
  |data={{{data4|}}}    |datastyle={{{datastyle|}}}
  |class={{{class4|}}}  |rowclass={{{rowclass4|}}}
  |class={{{class4|}}}  |rowclass={{{rowclass4|}}}
|module={{{module4|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header5|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header5|}}} |headerstyle={{{headerstyle|}}}
Line 58: Line 62:
  |data={{{data5|}}}    |datastyle={{{datastyle|}}}
  |data={{{data5|}}}    |datastyle={{{datastyle|}}}
  |class={{{class5|}}}  |rowclass={{{rowclass5|}}}
  |class={{{class5|}}}  |rowclass={{{rowclass5|}}}
|module={{{module5|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header6|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header6|}}} |headerstyle={{{headerstyle|}}}
Line 63: Line 68:
  |data={{{data6|}}}    |datastyle={{{datastyle|}}}
  |data={{{data6|}}}    |datastyle={{{datastyle|}}}
  |class={{{class6|}}}  |rowclass={{{rowclass6|}}}
  |class={{{class6|}}}  |rowclass={{{rowclass6|}}}
|module={{{module6|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header7|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header7|}}} |headerstyle={{{headerstyle|}}}
Line 68: Line 74:
  |data={{{data7|}}}    |datastyle={{{datastyle|}}}
  |data={{{data7|}}}    |datastyle={{{datastyle|}}}
  |class={{{class7|}}}  |rowclass={{{rowclass7|}}}
  |class={{{class7|}}}  |rowclass={{{rowclass7|}}}
|module={{{module7|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header8|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header8|}}} |headerstyle={{{headerstyle|}}}
Line 73: Line 80:
  |data={{{data8|}}}    |datastyle={{{datastyle|}}}
  |data={{{data8|}}}    |datastyle={{{datastyle|}}}
  |class={{{class8|}}}  |rowclass={{{rowclass8|}}}
  |class={{{class8|}}}  |rowclass={{{rowclass8|}}}
|module={{{module8|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header9|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header9|}}} |headerstyle={{{headerstyle|}}}
Line 78: Line 86:
  |data={{{data9|}}}    |datastyle={{{datastyle|}}}
  |data={{{data9|}}}    |datastyle={{{datastyle|}}}
  |class={{{class9|}}}  |rowclass={{{rowclass9|}}}
  |class={{{class9|}}}  |rowclass={{{rowclass9|}}}
|module={{{module9|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header10|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header10|}}} |headerstyle={{{headerstyle|}}}
Line 83: Line 92:
  |data={{{data10|}}}    |datastyle={{{datastyle|}}}
  |data={{{data10|}}}    |datastyle={{{datastyle|}}}
  |class={{{class10|}}}  |rowclass={{{rowclass10|}}}
  |class={{{class10|}}}  |rowclass={{{rowclass10|}}}
|module={{{module10|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header11|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header11|}}} |headerstyle={{{headerstyle|}}}
Line 88: Line 98:
  |data={{{data11|}}}    |datastyle={{{datastyle|}}}
  |data={{{data11|}}}    |datastyle={{{datastyle|}}}
  |class={{{class11|}}}  |rowclass={{{rowclass11|}}}
  |class={{{class11|}}}  |rowclass={{{rowclass11|}}}
|module={{{module11|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header12|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header12|}}} |headerstyle={{{headerstyle|}}}
Line 93: Line 104:
  |data={{{data12|}}}    |datastyle={{{datastyle|}}}
  |data={{{data12|}}}    |datastyle={{{datastyle|}}}
  |class={{{class12|}}}  |rowclass={{{rowclass12|}}}
  |class={{{class12|}}}  |rowclass={{{rowclass12|}}}
|module={{{module12|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header13|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header13|}}} |headerstyle={{{headerstyle|}}}
Line 98: Line 110:
  |data={{{data13|}}}    |datastyle={{{datastyle|}}}
  |data={{{data13|}}}    |datastyle={{{datastyle|}}}
  |class={{{class13|}}}  |rowclass={{{rowclass13|}}}
  |class={{{class13|}}}  |rowclass={{{rowclass13|}}}
|module={{{module|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header14|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header14|}}} |headerstyle={{{headerstyle|}}}
Line 103: Line 116:
  |data={{{data14|}}}    |datastyle={{{datastyle|}}}
  |data={{{data14|}}}    |datastyle={{{datastyle|}}}
  |class={{{class14|}}}  |rowclass={{{rowclass14|}}}
  |class={{{class14|}}}  |rowclass={{{rowclass14|}}}
|module={{{module14|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header15|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header15|}}} |headerstyle={{{headerstyle|}}}
Line 108: Line 122:
  |data={{{data15|}}}    |datastyle={{{datastyle|}}}
  |data={{{data15|}}}    |datastyle={{{datastyle|}}}
  |class={{{class15|}}}  |rowclass={{{rowclass15|}}}
  |class={{{class15|}}}  |rowclass={{{rowclass15|}}}
|module={{{module15|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header16|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header16|}}} |headerstyle={{{headerstyle|}}}
Line 113: Line 128:
  |data={{{data16|}}}    |datastyle={{{datastyle|}}}
  |data={{{data16|}}}    |datastyle={{{datastyle|}}}
  |class={{{class16|}}}  |rowclass={{{rowclass16|}}}
  |class={{{class16|}}}  |rowclass={{{rowclass16|}}}
|module={{{module16|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header17|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header17|}}} |headerstyle={{{headerstyle|}}}
Line 118: Line 134:
  |data={{{data17|}}}    |datastyle={{{datastyle|}}}
  |data={{{data17|}}}    |datastyle={{{datastyle|}}}
  |class={{{class17|}}}  |rowclass={{{rowclass17|}}}
  |class={{{class17|}}}  |rowclass={{{rowclass17|}}}
|module={{{module17|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header18|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header18|}}} |headerstyle={{{headerstyle|}}}
Line 123: Line 140:
  |data={{{data18|}}}    |datastyle={{{datastyle|}}}
  |data={{{data18|}}}    |datastyle={{{datastyle|}}}
  |class={{{class18|}}}  |rowclass={{{rowclass18|}}}
  |class={{{class18|}}}  |rowclass={{{rowclass18|}}}
|module={{{module18|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header19|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header19|}}} |headerstyle={{{headerstyle|}}}
Line 128: Line 146:
  |data={{{data19|}}}    |datastyle={{{datastyle|}}}
  |data={{{data19|}}}    |datastyle={{{datastyle|}}}
  |class={{{class19|}}}  |rowclass={{{rowclass19|}}}
  |class={{{class19|}}}  |rowclass={{{rowclass19|}}}
|module={{{module19|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header20|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header20|}}} |headerstyle={{{headerstyle|}}}
Line 133: Line 152:
  |data={{{data20|}}}    |datastyle={{{datastyle|}}}
  |data={{{data20|}}}    |datastyle={{{datastyle|}}}
  |class={{{class20|}}}  |rowclass={{{rowclass20|}}}
  |class={{{class20|}}}  |rowclass={{{rowclass20|}}}
|module={{{module20|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header21|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header21|}}} |headerstyle={{{headerstyle|}}}
Line 138: Line 158:
  |data={{{data21|}}}    |datastyle={{{datastyle|}}}
  |data={{{data21|}}}    |datastyle={{{datastyle|}}}
  |class={{{class21|}}}  |rowclass={{{rowclass21|}}}
  |class={{{class21|}}}  |rowclass={{{rowclass21|}}}
|module={{{module21|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header22|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header22|}}} |headerstyle={{{headerstyle|}}}
Line 143: Line 164:
  |data={{{data22|}}}    |datastyle={{{datastyle|}}}
  |data={{{data22|}}}    |datastyle={{{datastyle|}}}
  |class={{{class22|}}}  |rowclass={{{rowclass22|}}}
  |class={{{class22|}}}  |rowclass={{{rowclass22|}}}
|module={{{module22|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header23|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header23|}}} |headerstyle={{{headerstyle|}}}
Line 148: Line 170:
  |data={{{data23|}}}    |datastyle={{{datastyle|}}}
  |data={{{data23|}}}    |datastyle={{{datastyle|}}}
  |class={{{class23|}}}  |rowclass={{{rowclass23|}}}
  |class={{{class23|}}}  |rowclass={{{rowclass23|}}}
|module={{{module23|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header24|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header24|}}} |headerstyle={{{headerstyle|}}}
Line 153: Line 176:
  |data={{{data24|}}}    |datastyle={{{datastyle|}}}
  |data={{{data24|}}}    |datastyle={{{datastyle|}}}
  |class={{{class24|}}}  |rowclass={{{rowclass24|}}}
  |class={{{class24|}}}  |rowclass={{{rowclass24|}}}
|module={{{module24|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header25|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header25|}}} |headerstyle={{{headerstyle|}}}
Line 158: Line 182:
  |data={{{data25|}}}    |datastyle={{{datastyle|}}}
  |data={{{data25|}}}    |datastyle={{{datastyle|}}}
  |class={{{class25|}}}  |rowclass={{{rowclass25|}}}
  |class={{{class25|}}}  |rowclass={{{rowclass25|}}}
|module={{{module25|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header26|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header26|}}} |headerstyle={{{headerstyle|}}}
Line 163: Line 188:
  |data={{{data26|}}}    |datastyle={{{datastyle|}}}
  |data={{{data26|}}}    |datastyle={{{datastyle|}}}
  |class={{{class26|}}}  |rowclass={{{rowclass26|}}}
  |class={{{class26|}}}  |rowclass={{{rowclass26|}}}
|module={{{module26|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header27|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header27|}}} |headerstyle={{{headerstyle|}}}
Line 168: Line 194:
  |data={{{data27|}}}    |datastyle={{{datastyle|}}}
  |data={{{data27|}}}    |datastyle={{{datastyle|}}}
  |class={{{class27|}}}  |rowclass={{{rowclass27|}}}
  |class={{{class27|}}}  |rowclass={{{rowclass27|}}}
|module={{{module27|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header28|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header28|}}} |headerstyle={{{headerstyle|}}}
Line 173: Line 200:
  |data={{{data28|}}}    |datastyle={{{datastyle|}}}
  |data={{{data28|}}}    |datastyle={{{datastyle|}}}
  |class={{{class28|}}}  |rowclass={{{rowclass28|}}}
  |class={{{class28|}}}  |rowclass={{{rowclass28|}}}
|module={{{module28|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header29|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header29|}}} |headerstyle={{{headerstyle|}}}
Line 178: Line 206:
  |data={{{data29|}}}    |datastyle={{{datastyle|}}}
  |data={{{data29|}}}    |datastyle={{{datastyle|}}}
  |class={{{class29|}}}  |rowclass={{{rowclass29|}}}
  |class={{{class29|}}}  |rowclass={{{rowclass29|}}}
|module={{{module29|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header30|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header30|}}} |headerstyle={{{headerstyle|}}}
Line 183: Line 212:
  |data={{{data30|}}}    |datastyle={{{datastyle|}}}
  |data={{{data30|}}}    |datastyle={{{datastyle|}}}
  |class={{{class30|}}}  |rowclass={{{rowclass30|}}}
  |class={{{class30|}}}  |rowclass={{{rowclass30|}}}
|module={{{module30|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header31|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header31|}}} |headerstyle={{{headerstyle|}}}
Line 188: Line 218:
  |data={{{data31|}}}    |datastyle={{{datastyle|}}}
  |data={{{data31|}}}    |datastyle={{{datastyle|}}}
  |class={{{class31|}}}  |rowclass={{{rowclass31|}}}
  |class={{{class31|}}}  |rowclass={{{rowclass31|}}}
|module={{{module31|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header32|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header32|}}} |headerstyle={{{headerstyle|}}}
Line 193: Line 224:
  |data={{{data32|}}}    |datastyle={{{datastyle|}}}
  |data={{{data32|}}}    |datastyle={{{datastyle|}}}
  |class={{{class32|}}}  |rowclass={{{rowclass32|}}}
  |class={{{class32|}}}  |rowclass={{{rowclass32|}}}
|module={{{module32|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header33|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header33|}}} |headerstyle={{{headerstyle|}}}
Line 198: Line 230:
  |data={{{data33|}}}    |datastyle={{{datastyle|}}}
  |data={{{data33|}}}    |datastyle={{{datastyle|}}}
  |class={{{class33|}}}  |rowclass={{{rowclass33|}}}
  |class={{{class33|}}}  |rowclass={{{rowclass33|}}}
|module={{{module33|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header34|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header34|}}} |headerstyle={{{headerstyle|}}}
Line 203: Line 236:
  |data={{{data34|}}}    |datastyle={{{datastyle|}}}
  |data={{{data34|}}}    |datastyle={{{datastyle|}}}
  |class={{{class34|}}}  |rowclass={{{rowclass34|}}}
  |class={{{class34|}}}  |rowclass={{{rowclass34|}}}
|module={{{module34|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header35|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header35|}}} |headerstyle={{{headerstyle|}}}
Line 208: Line 242:
  |data={{{data35|}}}    |datastyle={{{datastyle|}}}
  |data={{{data35|}}}    |datastyle={{{datastyle|}}}
  |class={{{class35|}}}  |rowclass={{{rowclass35|}}}
  |class={{{class35|}}}  |rowclass={{{rowclass35|}}}
|module={{{module35|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header36|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header36|}}} |headerstyle={{{headerstyle|}}}
Line 213: Line 248:
  |data={{{data36|}}}    |datastyle={{{datastyle|}}}
  |data={{{data36|}}}    |datastyle={{{datastyle|}}}
  |class={{{class36|}}}  |rowclass={{{rowclass36|}}}
  |class={{{class36|}}}  |rowclass={{{rowclass36|}}}
|module={{{module36|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header37|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header37|}}} |headerstyle={{{headerstyle|}}}
Line 218: Line 254:
  |data={{{data37|}}}    |datastyle={{{datastyle|}}}
  |data={{{data37|}}}    |datastyle={{{datastyle|}}}
  |class={{{class37|}}}  |rowclass={{{rowclass37|}}}
  |class={{{class37|}}}  |rowclass={{{rowclass37|}}}
|module={{{module37|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header38|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header38|}}} |headerstyle={{{headerstyle|}}}
Line 223: Line 260:
  |data={{{data38|}}}    |datastyle={{{datastyle|}}}
  |data={{{data38|}}}    |datastyle={{{datastyle|}}}
  |class={{{class38|}}}  |rowclass={{{rowclass38|}}}
  |class={{{class38|}}}  |rowclass={{{rowclass38|}}}
|module={{{module38|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header39|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header39|}}} |headerstyle={{{headerstyle|}}}
Line 228: Line 266:
  |data={{{data39|}}}    |datastyle={{{datastyle|}}}
  |data={{{data39|}}}    |datastyle={{{datastyle|}}}
  |class={{{class39|}}}  |rowclass={{{rowclass39|}}}
  |class={{{class39|}}}  |rowclass={{{rowclass39|}}}
|module={{{module39|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header40|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header40|}}} |headerstyle={{{headerstyle|}}}
Line 233: Line 272:
  |data={{{data40|}}}    |datastyle={{{datastyle|}}}
  |data={{{data40|}}}    |datastyle={{{datastyle|}}}
  |class={{{class40|}}}  |rowclass={{{rowclass40|}}}
  |class={{{class40|}}}  |rowclass={{{rowclass40|}}}
|module={{{module40|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header41|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header41|}}} |headerstyle={{{headerstyle|}}}
Line 238: Line 278:
  |data={{{data41|}}}    |datastyle={{{datastyle|}}}
  |data={{{data41|}}}    |datastyle={{{datastyle|}}}
  |class={{{class41|}}}  |rowclass={{{rowclass41|}}}
  |class={{{class41|}}}  |rowclass={{{rowclass41|}}}
|module={{{module41|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header42|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header42|}}} |headerstyle={{{headerstyle|}}}
Line 243: Line 284:
  |data={{{data42|}}}    |datastyle={{{datastyle|}}}
  |data={{{data42|}}}    |datastyle={{{datastyle|}}}
  |class={{{class42|}}}  |rowclass={{{rowclass42|}}}
  |class={{{class42|}}}  |rowclass={{{rowclass42|}}}
|module={{{module42|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header43|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header43|}}} |headerstyle={{{headerstyle|}}}
Line 248: Line 290:
  |data={{{data43|}}}    |datastyle={{{datastyle|}}}
  |data={{{data43|}}}    |datastyle={{{datastyle|}}}
  |class={{{class43|}}}  |rowclass={{{rowclass43|}}}
  |class={{{class43|}}}  |rowclass={{{rowclass43|}}}
|module={{{module43|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header44|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header44|}}} |headerstyle={{{headerstyle|}}}
Line 253: Line 296:
  |data={{{data44|}}}    |datastyle={{{datastyle|}}}
  |data={{{data44|}}}    |datastyle={{{datastyle|}}}
  |class={{{class44|}}}  |rowclass={{{rowclass44|}}}
  |class={{{class44|}}}  |rowclass={{{rowclass44|}}}
|module={{{module44|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header45|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header45|}}} |headerstyle={{{headerstyle|}}}
Line 258: Line 302:
  |data={{{data45|}}}    |datastyle={{{datastyle|}}}
  |data={{{data45|}}}    |datastyle={{{datastyle|}}}
  |class={{{class45|}}}  |rowclass={{{rowclass45|}}}
  |class={{{class45|}}}  |rowclass={{{rowclass45|}}}
|module={{{module45|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header46|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header46|}}} |headerstyle={{{headerstyle|}}}
Line 263: Line 308:
  |data={{{data46|}}}    |datastyle={{{datastyle|}}}
  |data={{{data46|}}}    |datastyle={{{datastyle|}}}
  |class={{{class46|}}}  |rowclass={{{rowclass46|}}}
  |class={{{class46|}}}  |rowclass={{{rowclass46|}}}
|module={{{module46|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header47|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header47|}}} |headerstyle={{{headerstyle|}}}
Line 268: Line 314:
  |data={{{data47|}}}    |datastyle={{{datastyle|}}}
  |data={{{data47|}}}    |datastyle={{{datastyle|}}}
  |class={{{class47|}}}  |rowclass={{{rowclass47|}}}
  |class={{{class47|}}}  |rowclass={{{rowclass47|}}}
|module={{{module47|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header48|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header48|}}} |headerstyle={{{headerstyle|}}}
Line 273: Line 320:
  |data={{{data48|}}}    |datastyle={{{datastyle|}}}
  |data={{{data48|}}}    |datastyle={{{datastyle|}}}
  |class={{{class48|}}}  |rowclass={{{rowclass48|}}}
  |class={{{class48|}}}  |rowclass={{{rowclass48|}}}
|module={{{module48|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header49|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header49|}}} |headerstyle={{{headerstyle|}}}
Line 278: Line 326:
  |data={{{data49|}}}    |datastyle={{{datastyle|}}}
  |data={{{data49|}}}    |datastyle={{{datastyle|}}}
  |class={{{class49|}}}  |rowclass={{{rowclass49|}}}
  |class={{{class49|}}}  |rowclass={{{rowclass49|}}}
|module={{{module49|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header50|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header50|}}} |headerstyle={{{headerstyle|}}}
Line 283: Line 332:
  |data={{{data50|}}}    |datastyle={{{datastyle|}}}
  |data={{{data50|}}}    |datastyle={{{datastyle|}}}
  |class={{{class50|}}}  |rowclass={{{rowclass50|}}}
  |class={{{class50|}}}  |rowclass={{{rowclass50|}}}
|module={{{module50|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header51|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header51|}}} |headerstyle={{{headerstyle|}}}
Line 288: Line 338:
  |data={{{data51|}}}    |datastyle={{{datastyle|}}}
  |data={{{data51|}}}    |datastyle={{{datastyle|}}}
  |class={{{class51|}}}  |rowclass={{{rowclass51|}}}
  |class={{{class51|}}}  |rowclass={{{rowclass51|}}}
|module={{{module51|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header52|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header52|}}} |headerstyle={{{headerstyle|}}}
Line 293: Line 344:
  |data={{{data52|}}}    |datastyle={{{datastyle|}}}
  |data={{{data52|}}}    |datastyle={{{datastyle|}}}
  |class={{{class52|}}}  |rowclass={{{rowclass52|}}}
  |class={{{class52|}}}  |rowclass={{{rowclass52|}}}
|module={{{module52|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header53|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header53|}}} |headerstyle={{{headerstyle|}}}
Line 298: Line 350:
  |data={{{data53|}}}    |datastyle={{{datastyle|}}}
  |data={{{data53|}}}    |datastyle={{{datastyle|}}}
  |class={{{class53|}}}  |rowclass={{{rowclass53|}}}
  |class={{{class53|}}}  |rowclass={{{rowclass53|}}}
|module={{{module53|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header54|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header54|}}} |headerstyle={{{headerstyle|}}}
Line 303: Line 356:
  |data={{{data54|}}}    |datastyle={{{datastyle|}}}
  |data={{{data54|}}}    |datastyle={{{datastyle|}}}
  |class={{{class54|}}}  |rowclass={{{rowclass54|}}}
  |class={{{class54|}}}  |rowclass={{{rowclass54|}}}
|module={{{module54|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header55|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header55|}}} |headerstyle={{{headerstyle|}}}
Line 308: Line 362:
  |data={{{data55|}}}    |datastyle={{{datastyle|}}}
  |data={{{data55|}}}    |datastyle={{{datastyle|}}}
  |class={{{class55|}}}  |rowclass={{{rowclass55|}}}
  |class={{{class55|}}}  |rowclass={{{rowclass55|}}}
|module={{{module55|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header56|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header56|}}} |headerstyle={{{headerstyle|}}}
Line 313: Line 368:
  |data={{{data56|}}}    |datastyle={{{datastyle|}}}
  |data={{{data56|}}}    |datastyle={{{datastyle|}}}
  |class={{{class56|}}}  |rowclass={{{rowclass56|}}}
  |class={{{class56|}}}  |rowclass={{{rowclass56|}}}
|module={{{module56|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header57|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header57|}}} |headerstyle={{{headerstyle|}}}
Line 318: Line 374:
  |data={{{data57|}}}    |datastyle={{{datastyle|}}}
  |data={{{data57|}}}    |datastyle={{{datastyle|}}}
  |class={{{class57|}}}  |rowclass={{{rowclass57|}}}
  |class={{{class57|}}}  |rowclass={{{rowclass57|}}}
|module={{{module57|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header58|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header58|}}} |headerstyle={{{headerstyle|}}}
Line 323: Line 380:
  |data={{{data58|}}}    |datastyle={{{datastyle|}}}
  |data={{{data58|}}}    |datastyle={{{datastyle|}}}
  |class={{{class58|}}}  |rowclass={{{rowclass58|}}}
  |class={{{class58|}}}  |rowclass={{{rowclass58|}}}
|module={{{module58|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header59|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header59|}}} |headerstyle={{{headerstyle|}}}
Line 328: Line 386:
  |data={{{data59|}}}    |datastyle={{{datastyle|}}}
  |data={{{data59|}}}    |datastyle={{{datastyle|}}}
  |class={{{class59|}}}  |rowclass={{{rowclass59|}}}
  |class={{{class59|}}}  |rowclass={{{rowclass59|}}}
|module={{{module59|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header60|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header60|}}} |headerstyle={{{headerstyle|}}}
Line 333: Line 392:
  |data={{{data60|}}}    |datastyle={{{datastyle|}}}
  |data={{{data60|}}}    |datastyle={{{datastyle|}}}
  |class={{{class60|}}}  |rowclass={{{rowclass60|}}}
  |class={{{class60|}}}  |rowclass={{{rowclass60|}}}
|module={{{module60|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header61|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header61|}}} |headerstyle={{{headerstyle|}}}
Line 338: Line 398:
  |data={{{data61|}}}    |datastyle={{{datastyle|}}}
  |data={{{data61|}}}    |datastyle={{{datastyle|}}}
  |class={{{class61|}}}  |rowclass={{{rowclass61|}}}
  |class={{{class61|}}}  |rowclass={{{rowclass61|}}}
|module={{{module61|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header62|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header62|}}} |headerstyle={{{headerstyle|}}}
Line 343: Line 404:
  |data={{{data62|}}}    |datastyle={{{datastyle|}}}
  |data={{{data62|}}}    |datastyle={{{datastyle|}}}
  |class={{{class62|}}}  |rowclass={{{rowclass62|}}}
  |class={{{class62|}}}  |rowclass={{{rowclass62|}}}
|module={{{module62|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header63|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header63|}}} |headerstyle={{{headerstyle|}}}
Line 348: Line 410:
  |data={{{data63|}}}    |datastyle={{{datastyle|}}}
  |data={{{data63|}}}    |datastyle={{{datastyle|}}}
  |class={{{class63|}}}  |rowclass={{{rowclass63|}}}
  |class={{{class63|}}}  |rowclass={{{rowclass63|}}}
|module={{{module63|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header64|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header64|}}} |headerstyle={{{headerstyle|}}}
Line 353: Line 416:
  |data={{{data64|}}}    |datastyle={{{datastyle|}}}
  |data={{{data64|}}}    |datastyle={{{datastyle|}}}
  |class={{{class64|}}}  |rowclass={{{rowclass64|}}}
  |class={{{class64|}}}  |rowclass={{{rowclass64|}}}
|module={{{module64|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header65|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header65|}}} |headerstyle={{{headerstyle|}}}
Line 358: Line 422:
  |data={{{data65|}}}    |datastyle={{{datastyle|}}}
  |data={{{data65|}}}    |datastyle={{{datastyle|}}}
  |class={{{class65|}}}  |rowclass={{{rowclass65|}}}
  |class={{{class65|}}}  |rowclass={{{rowclass65|}}}
|module={{{module65|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header66|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header66|}}} |headerstyle={{{headerstyle|}}}
Line 363: Line 428:
  |data={{{data66|}}}    |datastyle={{{datastyle|}}}
  |data={{{data66|}}}    |datastyle={{{datastyle|}}}
  |class={{{class66|}}}  |rowclass={{{rowclass66|}}}
  |class={{{class66|}}}  |rowclass={{{rowclass66|}}}
|module={{{module66|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header67|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header67|}}} |headerstyle={{{headerstyle|}}}
Line 368: Line 434:
  |data={{{data67|}}}    |datastyle={{{datastyle|}}}
  |data={{{data67|}}}    |datastyle={{{datastyle|}}}
  |class={{{class67|}}}  |rowclass={{{rowclass67|}}}
  |class={{{class67|}}}  |rowclass={{{rowclass67|}}}
|module={{{module67|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header68|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header68|}}} |headerstyle={{{headerstyle|}}}
Line 373: Line 440:
  |data={{{data68|}}}    |datastyle={{{datastyle|}}}
  |data={{{data68|}}}    |datastyle={{{datastyle|}}}
  |class={{{class68|}}}  |rowclass={{{rowclass68|}}}
  |class={{{class68|}}}  |rowclass={{{rowclass68|}}}
|module={{{module68|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header69|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header69|}}} |headerstyle={{{headerstyle|}}}
Line 378: Line 446:
  |data={{{data69|}}}    |datastyle={{{datastyle|}}}
  |data={{{data69|}}}    |datastyle={{{datastyle|}}}
  |class={{{class69|}}}  |rowclass={{{rowclass69|}}}
  |class={{{class69|}}}  |rowclass={{{rowclass69|}}}
|module={{{module69|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header70|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header70|}}} |headerstyle={{{headerstyle|}}}
Line 383: Line 452:
  |data={{{data70|}}}    |datastyle={{{datastyle|}}}
  |data={{{data70|}}}    |datastyle={{{datastyle|}}}
  |class={{{class70|}}}  |rowclass={{{rowclass70|}}}
  |class={{{class70|}}}  |rowclass={{{rowclass70|}}}
|module={{{module70|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header71|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header71|}}} |headerstyle={{{headerstyle|}}}
Line 388: Line 458:
  |data={{{data71|}}}    |datastyle={{{datastyle|}}}
  |data={{{data71|}}}    |datastyle={{{datastyle|}}}
  |class={{{class71|}}}  |rowclass={{{rowclass71|}}}
  |class={{{class71|}}}  |rowclass={{{rowclass71|}}}
|module={{{module71|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header72|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header72|}}} |headerstyle={{{headerstyle|}}}
Line 393: Line 464:
  |data={{{data72|}}}    |datastyle={{{datastyle|}}}
  |data={{{data72|}}}    |datastyle={{{datastyle|}}}
  |class={{{class72|}}}  |rowclass={{{rowclass72|}}}
  |class={{{class72|}}}  |rowclass={{{rowclass72|}}}
|module={{{module72|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header73|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header73|}}} |headerstyle={{{headerstyle|}}}
Line 398: Line 470:
  |data={{{data73|}}}    |datastyle={{{datastyle|}}}
  |data={{{data73|}}}    |datastyle={{{datastyle|}}}
  |class={{{class73|}}}  |rowclass={{{rowclass73|}}}
  |class={{{class73|}}}  |rowclass={{{rowclass73|}}}
|module={{{module73|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header74|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header74|}}} |headerstyle={{{headerstyle|}}}
Line 403: Line 476:
  |data={{{data74|}}}    |datastyle={{{datastyle|}}}
  |data={{{data74|}}}    |datastyle={{{datastyle|}}}
  |class={{{class74|}}}  |rowclass={{{rowclass74|}}}
  |class={{{class74|}}}  |rowclass={{{rowclass74|}}}
|module={{{module74|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header75|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header75|}}} |headerstyle={{{headerstyle|}}}
Line 408: Line 482:
  |data={{{data75|}}}    |datastyle={{{datastyle|}}}
  |data={{{data75|}}}    |datastyle={{{datastyle|}}}
  |class={{{class75|}}}  |rowclass={{{rowclass75|}}}
  |class={{{class75|}}}  |rowclass={{{rowclass75|}}}
|module={{{module75|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header76|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header76|}}} |headerstyle={{{headerstyle|}}}
Line 413: Line 488:
  |data={{{data76|}}}    |datastyle={{{datastyle|}}}
  |data={{{data76|}}}    |datastyle={{{datastyle|}}}
  |class={{{class76|}}}  |rowclass={{{rowclass76|}}}
  |class={{{class76|}}}  |rowclass={{{rowclass76|}}}
|module={{{module76|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header77|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header77|}}} |headerstyle={{{headerstyle|}}}
Line 418: Line 494:
  |data={{{data77|}}}    |datastyle={{{datastyle|}}}
  |data={{{data77|}}}    |datastyle={{{datastyle|}}}
  |class={{{class77|}}}  |rowclass={{{rowclass77|}}}
  |class={{{class77|}}}  |rowclass={{{rowclass77|}}}
|module={{{module77|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header78|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header78|}}} |headerstyle={{{headerstyle|}}}
Line 423: Line 500:
  |data={{{data78|}}}    |datastyle={{{datastyle|}}}
  |data={{{data78|}}}    |datastyle={{{datastyle|}}}
  |class={{{class78|}}}  |rowclass={{{rowclass78|}}}
  |class={{{class78|}}}  |rowclass={{{rowclass78|}}}
|module={{{module78|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header79|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header79|}}} |headerstyle={{{headerstyle|}}}
Line 428: Line 506:
  |data={{{data79|}}}    |datastyle={{{datastyle|}}}
  |data={{{data79|}}}    |datastyle={{{datastyle|}}}
  |class={{{class79|}}}  |rowclass={{{rowclass79|}}}
  |class={{{class79|}}}  |rowclass={{{rowclass79|}}}
|module={{{module79|}}}
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header80|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header80|}}} |headerstyle={{{headerstyle|}}}
Line 433: Line 512:
  |data={{{data80|}}}    |datastyle={{{datastyle|}}}
  |data={{{data80|}}}    |datastyle={{{datastyle|}}}
  |class={{{class80|}}}  |rowclass={{{rowclass80|}}}
  |class={{{class80|}}}  |rowclass={{{rowclass80|}}}
|module={{{module80|}}}
}}<!-- Below
}}<!-- Below
-->{{#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>}}<!--

Latest revision as of 08:12, 21 July 2012

[edit] [purge] File:Template-info.svg Template documentation

Template:Confused This template is intended as a meta-template: a template used for constructing other templates. It is not meant for use directly in an article, but can be used on a one-off basis if required. See Help:Infobox for an introduction to infoboxes and information on how to design them. See Category:Infobox templates for specific infobox templates.

Usage

Usage is similar to {{navbox}}, but with an additional distinction. Each row on the table can contain either a header, or a label/data pair, or just a data cell. These are mutually exclusive states so if you define a row with both a header and a label/data pair, the label/data pair is ignored.

To insert an image somewhere other than at the top of the infobox, or to insert freeform data, use a row with only a data field.

Number ranges

Row numbers may be from 1 to 80 (for situations where more than 80 rows are required, see Embedding below). To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example:

|header3  = Section 1
|label5   = Label A
|data5    = Data B
|label7   = Label C
|data7    = Data C
|header10 = Section 2
|label12  = Label D
|data12   = Data D

Parameters

View/discuss/edit links

name
If this parameter is present, "view/discuss/edit" links will be added to the bottom of the infobox, pointing to the named template. You can use {{subst:PAGENAME}}.
However this is rarely what you want, because it will send users clicking these links in an infobox in an article to the template code rather than the data in the infobox that they probably want to change.

Title

Text in caption over infobox
Subheader of the infobox
(the rest of the infobox goes here)
Text in uppermost cell of infobox
Subheader of the infobox
Second subheader of the infobox
(the rest of the infobox goes here)

There are two different ways to put a title on an infobox. One contains the title inside the infobox's border, the other puts it on top as a caption. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended).

title
Text to put in the caption over top of the table.
above
Text to put within the uppermost cell of the table.

Optional content

subheader, subheader2
additional title fields which fit below {{{title}}} and {{{above}}}.
image, image2
images to display at the top of the template. Use full image syntax, for example [[File:example.png|200px|alt=Example alt text]]. Image is centered by default. See WP:ALT for more on alt text.
caption, caption2
Text to put underneath the images.
header(n)
Text to use as a header in row n.
label(n)
Text to use as a label in row n.
data(n)
Text to display as data in row n.
below
Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information.
child
See the embedding section for details.

Note: for any given value for (n), not all combinations of parameters are permitted. The presence of a Template:Para will cause the corresponding Template:ParaTemplate:Para (and Template:Para, see below) to be ignored; the absence of a Template:Para will cause the corresponding Template:Para to be ignored. Valid combinations for any single row are:

See the rendering of header4, label4, and data4 in the examples section below.

Optional CSS styling

bodystyle
Applies to the infobox table as a whole
titlestyle
Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox.
abovestyle
Applies only to the "above" cell at the top. The default style has font-size:large; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:medium;" in the abovestyle.
imagestyle
Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future.
captionstyle
Applies to the text of the image caption.
headerstyle
Applies to all header cells
labelstyle
Applies to all label cells
datastyle
Applies to all data cells
belowstyle
Applies only to the below cell

HTML classes

bodyclass
This parameter is inserted into the "class" attribute for the infobox as a whole.
titleclass
This parameter is inserted into the "class" attribute for the infobox's title caption.
aboveclass
This parameter is inserted into the "class" attribute for the infobox's "above" cell.
aboverowclass
This parameter is inserted into the "class" attribute for the complete table row the "above" cell is on.
subheaderclass
This parameter is inserted into the "class" attribute for the infobox's subheader.
subheaderrowclass
This parameter is inserted into the "class" attribute for the complete table row the subheader is on.
imageclass
This parameter is inserted into the "class" attribute for the image.
imagerowclass1, imagerowclass2
These parameters are inserted into the "class" attribute for the complete table row the respective images are on.
rowclass(n)
This parameter is inserted into the "class" attribute for the specified row including the label or other explanatory text.
class(n)
This parameter is inserted into the "class" attribute for the data cell of the specified row. If there's no data cell it has no effect.
belowclass
This parameter is inserted into the "class" attribute for the infobox's below cell.

Microformats

This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag an infobox as containing hCard information, for example, add the following parameter:

|bodyclass = vcard

And for each row containing a data cell that's part of the vcard, add a corresponding class parameter:

|class1 = fn
|class2 = org
|class3 = tel

...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox.

See Wikipedia:WikiProject Microformats for more information on adding microformat information to Wikipedia, and microformat for more information on microformats in general.

Italic titles

Titles of articles with infoboxes may be made italic, in line with WP:ITALICTITLE, by passing the italic title parameter.

  • Turn on italic titles by passing Template:Para from the infobox.
  • Turn off by default but allow some instances to be made italic by passing Template:Para
  • Do not make any titles italic by not passing the parameter at all.

Making fields optional

A row with a label but no data is not displayed. This allows for the easy creation of optional infobox content rows. To make a row optional use a parameter that defaults to an empty string, like so:

|label5 = Population
|data5  = {{{population|}}}

This way if an article doesn't define the population parameter in its infobox the row won't be displayed.

For more complex fields with pre-formated contents that would still be present even if the parameter wasn't set, you can wrap it all in an "#if" statement to make the whole thing vanish when the parameter is not used. For instance, the "#if" statement in the following example reads "#if:the parameter mass has been supplied |then display it, followed by 'kg'":

|label6 = Mass
|data6  = {{#if:{{{mass|}}}|{{{mass}}} kg}}

For more on #if, see here.

You can also make headers optional in a similar way. If you want a header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it:

{{Infobox
|name    = {{subst:PAGENAME}}
|title   = Example of an optional header
|header1 = {{#if:{{{item_one|}}}{{{item_two|}}}{{{item_three|}}}|Optional header}}
|label2  = Item one
|data2   = {{{item_one|}}}
|label3  = Item two
|data3   = {{{item_two|}}}
|label4  = Item three
|data4   = {{{item_three|}}}
}}

header1 will be shown if any of item_one, item_two, or item_three is defined. If none of the three parameters are defined the header won't be shown.

The trick to this is that the "if" returns false only if there is nothing whatsoever in the conditional section, so only if all three of item_one, item_two and item_three are undefined will the if statement fail.

Examples

Test Infobox
Example alt text
Caption for example.png
Header defined alone
Data defined alone
All three defined (header, label, data, all with same number)
Label and data defined (label) Label and data defined (data)
Below text
{{Infobox
|name         = Infobox/doc
|bodystyle    = 
|title        = Test Infobox
|titlestyle   = 

|image        = [[File:example.png|200px|alt=Example alt text]]
|imagestyle   = 
|caption      = Caption for example.png
|captionstyle = 
|headerstyle  = background:#ccf;
|labelstyle   = background:#ddf;
|datastyle    = 

|header1 = Header defined alone
|label1  = 
|data1   = 
|header2 = 
|label2  = Label defined alone does not display (needs data, or is suppressed)
|data2   = 
|header3 =
|label3  = 
|data3   = Data defined alone
|header4 = All three defined (header, label, data, all with same number)
|label4  = does not display (same number as a header)
|data4   = does not display (same number as a header)
|header5 =
|label5  = Label and data defined (label)
|data5   = Label and data defined (data)

|belowstyle = background:#ddf;
|below = Below text
}}

Notice how when a label is defined without an accompanying data cell the row doesn't appear in the displayed infobox, and when a header is defined on the same row as a data cell all of them are displayed.

For this example, Template:Nowrap and Template:Nowrap

Test Infobox
Label 1 Data 1
Label 2 Data 2
Label 3 Data 3
Header 4
Label 5 Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Below text
{{Infobox
|bodystyle   = width:20em;
|name        = Infobox/doc
|title       = Test Infobox
|titlestyle  = 
|headerstyle = 
|labelstyle  = width:33%
|datastyle   = 

|header1 = 
|label1  = Label 1
|data1   = Data 1
|header2 = 
|label2  = Label 2
|data2   = Data 2
|header3 = 
|label3  = Label 3
|data3   = Data 3
|header4 = Header 4
|label4  = 
|data4   = 
|header5 = 
|label5  = Label 5
|data5   = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

|belowstyle = 
|below = Below text
}}

Embedding

One infobox template can be embedded into another using the Template:Para parameter. This feature can be used to create a modular infobox, or to create more well defined logical sections.

Top level title
First subsection
Label 1.1 Data 1.1
Second subsection
Label 2.1 Data 2.1
Below text
{{Infobox
| title = Top level title
| module1 = {{Infobox
  | child = yes
  | title = First subsection
  | label1= Label 1.1
  | data1 = Data 1.1
}}
| module2 = {{Infobox
  | child = yes
  | title = Second subsection
  | label1= Label 2.1
  | data1 = Data 2.1
}}
|belowstyle = 
|below = Below text
}}

Note that the child infobox is placed in a module field. On wikis without HTML Tidy installed, placing it in a data or header field instead results in a stray </td></tr> being displayed, hence the special field.

Full blank syntax

(Note: the template currently handles up to 80 rows; only 20 are included here since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.)

{{Infobox
|name         = {{subst:PAGENAME}}
|bodystyle    = 
|title        = 
|titlestyle   = 
|above        = 
|abovestyle   = 

|imagestyle   = 
|captionstyle = 

|image        = 
|caption      = 
|image2       = 
|caption2     = 

|headerstyle  = 
|labelstyle   = 
|datastyle    = 

|header1  = 
|label1   = 
|data1    = 
|header2  = 
|label2   = 
|data2    = 
|header3  = 
|label3   = 
|data3    = 
|header4  = 
|label4   = 
|data4    = 
|header5  = 
|label5   = 
|data5    = 
|header6  = 
|label6   = 
|data6    = 
|header7  = 
|label7   = 
|data7    = 
|header8  = 
|label8   = 
|data8    = 
|header9  = 
|label9   = 
|data9    = 
|header10 = 
|label10  = 
|data10   = 
|header11 = 
|label11  = 
|data11   = 
|header12 = 
|label12  = 
|data12   = 
|header13 = 
|label13  = 
|data13   = 
|header14 = 
|label14  = 
|data14   = 
|header15 = 
|label15  = 
|data15   = 
|header16 = 
|label16  = 
|data16   = 
|header17 = 
|label17  = 
|data17   = 
|header18 = 
|label18  = 
|data18   = 
|header19 = 
|label19  = 
|data19   = 
|header20 = 
|label20  = 
|data20   = 

|belowstyle =
|below = 
}}

See also