|
|
Line 10: |
Line 10: |
| |datastyle={{{datastyle|}}}}} | | |datastyle={{{datastyle|}}}}} |
| }} | | }} |
− | {{Infobox/row
| + | {{#loop: row|1|30 |
− | |header={{{header1|}}} |label={{{label1|}}} |data={{{data1|}}} |class={{{class1|}}} |datastyle={{{datastyle|}}}
| + | |{{Infobox/row |
− | |headstyle={{#ifeq:{{{header1|a}}}{{{class1|}}}|{{{header1|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |header={{{header{{#var:row}}|}}} |
− | }}{{Infobox/row
| + | |label={{{label{{#var:row}}|}}} |
− | |header={{{header2|}}} |label={{{label2|}}} |data={{{data2|}}} |class={{{class2|}}} |datastyle={{{datastyle|}}}
| + | |data={{{data{{#var:row}}|}}} |
− | |headstyle={{#ifeq:{{{header2|a}}}{{{class2|}}}|{{{header2|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |class={{{class{{#var:row}}|}}} |
− | }}{{Infobox/row
| + | |datastyle={{{datastyle|}}} |
− | |header={{{header3|}}} |label={{{label3|}}} |data={{{data3|}}} |class={{{class3|}}} |datastyle={{{datastyle|}}} | + | |headstyle={{#ifeq:{{{header{{#var:row}}|a}}}{{{class{{#var:row}}|}}}|{{{header{{#var:row}}|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} |
− | |headstyle={{#ifeq:{{{header3|a}}}{{{class3|}}}|{{{header3|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | }} |
− | }}{{Infobox/row
| + | }}</table>{{#vardefine:infobox_messages |
− | |header={{{header4|}}} |label={{{label4|}}} |data={{{data4|}}} |class={{{class4|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header4|a}}}{{{class4|}}}|{{{header4|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header5|}}} |label={{{label5|}}} |data={{{data5|}}} |class={{{class5|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header5|a}}}{{{class5|}}}|{{{header5|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} | + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header6|}}} |label={{{label6|}}} |data={{{data6|}}} |class={{{class6|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header6|a}}}{{{class6|}}}|{{{header6|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header7|}}} |label={{{label7|}}} |data={{{data7|}}} |class={{{class7|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header7|a}}}{{{class7|}}}|{{{header7|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header8|}}} |label={{{label8|}}} |data={{{data8|}}} |class={{{class8|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header8|a}}}{{{class8|}}}|{{{header8|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} | + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header9|}}} |label={{{label9|}}} |data={{{data9|}}} |class={{{class9|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header9|a}}}{{{class9|}}}|{{{header9|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header10|}}} |label={{{label10|}}} |data={{{data10|}}} |class={{{class10|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header10|a}}}{{{class10|}}}|{{{header10|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header11|}}} |label={{{label11|}}} |data={{{data11|}}} |class={{{class11|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header11|a}}}{{{class11|}}}|{{{header11|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} | + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header12|}}} |label={{{label12|}}} |data={{{data12|}}} |class={{{class12|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header12|a}}}{{{class12|}}}|{{{header12|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header13|}}} |label={{{label13|}}} |data={{{data13|}}} |class={{{class13|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header13|a}}}{{{class13|}}}|{{{header13|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header14|}}} |label={{{label14|}}} |data={{{data14|}}} |class={{{class14|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header14|a}}}{{{class14|}}}|{{{header14|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} | + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header15|}}} |label={{{label15|}}} |data={{{data15|}}} |class={{{class15|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header15|a}}}{{{class15|}}}|{{{header15|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}} | + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header16|}}} |label={{{label16|}}} |data={{{data16|}}} |class={{{class16|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header16|a}}}{{{class16|}}}|{{{header16|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header17|}}} |label={{{label17|}}} |data={{{data17|}}} |class={{{class17|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header17|a}}}{{{class17|}}}|{{{header17|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header18|}}} |label={{{label18|}}} |data={{{data18|}}} |class={{{class18|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header18|a}}}{{{class18|}}}|{{{header18|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header19|}}} |label={{{label19|}}} |data={{{data19|}}} |class={{{class19|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header19|a}}}{{{class19|}}}|{{{header19|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header20|}}} |label={{{label20|}}} |data={{{data20|}}} |class={{{class20|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header20|a}}}{{{class20|}}}|{{{header20|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header21|}}} |label={{{label21|}}} |data={{{data21|}}} |class={{{class21|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header21|a}}}{{{class21|}}}|{{{header21|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row | + | |
− | |header={{{header22|}}} |label={{{label22|}}} |data={{{data22|}}} |class={{{class22|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header22|a}}}{{{class22|}}}|{{{header22|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header23|}}} |label={{{label23|}}} |data={{{data23|}}} |class={{{class23|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header23|a}}}{{{class23|}}}|{{{header23|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header24|}}} |label={{{label24|}}} |data={{{data24|}}} |class={{{class24|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header24|a}}}{{{class24|}}}|{{{header24|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header25|}}} |label={{{label25|}}} |data={{{data25|}}} |class={{{class25|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header25|a}}}{{{class25|}}}|{{{header25|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header26|}}} |label={{{label26|}}} |data={{{data26|}}} |class={{{class26|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header26|a}}}{{{class26|}}}|{{{header26|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header27|}}} |label={{{label27|}}} |data={{{data27|}}} |class={{{class27|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header27|a}}}{{{class27|}}}|{{{header27|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header28|}}} |label={{{label28|}}} |data={{{data28|}}} |class={{{class28|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header28|a}}}{{{class28|}}}|{{{header28|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header29|}}} |label={{{label29|}}} |data={{{data29|}}} |class={{{class29|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header29|a}}}{{{class29|}}}|{{{header29|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}{{Infobox/row
| + | |
− | |header={{{header30|}}} |label={{{label30|}}} |data={{{data30|}}} |class={{{class30|}}} |datastyle={{{datastyle|}}}
| + | |
− | |headstyle={{#ifeq:{{{header30|a}}}{{{class30|}}}|{{{header30|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
| + | |
− | }}
| + | |
− | </table>{{#vardefine:infobox_messages | + | |
| |{{#var:infobox_messages|}}{{maintenance|doclink={{{infoboxname|}}}|tasks={{#var:maintenance_message}}}} | | |{{#var:infobox_messages|}}{{maintenance|doclink={{{infoboxname|}}}|tasks={{#var:maintenance_message}}}} |
| }}</includeonly><noinclude> | | }}</includeonly><noinclude> |
− | This template is used to show an infobox for an article. It should be the first of the article, before the general description. | + | This template is used to show an infobox for a page. It should be the first of the page, before the general description. |
− | This template uses it's [[Template:Infobox/row|Infobox/row]] template for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data. | + | This template also uses its {{templatelink|Infobox/row}} template for rendering a title, an optional {{templatelink|articleimage}}, and 30 optional rows of custom data headings. |
| | | |
| ==Parameters== | | ==Parameters== |
This template is used to show an infobox for a page. It should be the first of the page, before the general description.
This template also uses its {{Infobox/row}} template for rendering a title, an optional {{articleimage}}, and 30 optional rows of custom data headings.
...
... this template is still under documentation