Template:Infobox

(Difference between revisions)

(^^^)
 
Line 1: Line 1:
To use this template, type the following into a page:
+
<includeonly><onlyinclude>{{Template:Infobox/Meta
 
+
|Icon = {{{Icon}}}
<pre>
+
|{{{1|}}}
{{Infobox
+
|{{{2|}}}
 
+
|{{{3|}}}
|title = Example Infobox
+
|data =
|image = [[File:*.png|300px]]
+
{{Infobox/Row|{{{4|}}}}}
|imagecaption =
+
{{Infobox/Row|{{{5|}}}}}
 
+
{{Infobox/Row|{{{6|}}}}}
|label1 :: data1
+
{{Infobox/Row|{{{7|}}}}}
|label2 :: data2
+
{{Infobox/Row|{{{8|}}}}}
|label3 :: data3
+
{{Infobox/Row|{{{9|}}}}}
|label4 :: data4
+
{{Infobox/Row|{{{10|}}}}}
 
+
{{Infobox/Row|{{{11|}}}}}
}}
+
{{Infobox/Row|{{{12|}}}}}
</pre>
+
{{Infobox/Row|{{{13|}}}}}
 
+
{{Infobox/Row|{{{14|}}}}}
This template supports up to fourty different, optional entries.
+
{{Infobox/Row|{{{15|}}}}}
 
+
{{Infobox/Row|{{{16|}}}}}
{{Infobox
+
{{Infobox/Row|{{{17|}}}}}
|title = Example Infobox
+
{{Infobox/Row|{{{18|}}}}}
|image = [[Image:*.png|300px]]
+
{{Infobox/Row|{{{19|}}}}}
|imagecaption =
+
{{Infobox/Row|{{{20|}}}}}
 
+
{{Infobox/Row|{{{21|}}}}}
|label1 :: data1
+
{{Infobox/Row|{{{22|}}}}}
|label2 :: data2
+
{{Infobox/Row|{{{23|}}}}}
|label3 :: data3
+
{{Infobox/Row|{{{24|}}}}}
|label4 :: data4
+
}}</onlyinclude></includeonly>
}}
+
 
+
 
+
<onlyinclude><includeonly>
+
<table style="float: right; width: 300px; font-size: 90%; text-align: left; margin: 0 0 1em 1em;" cellspacing="0" cellpadding="3"><!-- Header --><tr style="background:{{Rowbg}}"><th colspan="2" style="font-size:110%; font-style:italic; text-align: center;">{{#if: {{{title|}}} | {{{title}}} | {{PageName}}}}</th></tr><tr style="background:{{Rowbg}}"><td colspan="2" style="text-align: center;">{{{image|}}}{{#if: {{{imagecaption|}}} | <br />{{{imagecaption|}}}}}</tr>
+
{{Infobox/Row|L={{{label1|}}}|D={{{data1|}}}|{{{1|}}}|Rowbg}}{{Infobox/Row|L={{{label2|}}}|D={{{data2|}}}|{{{2|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label3|}}}|D={{{data3|}}}|{{{3|}}}|Rowbg}}{{Infobox/Row|L={{{label4|}}}|D={{{data4|}}}|{{{4|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label5|}}}|D={{{data5|}}}|{{{5|}}}|Rowbg}}{{Infobox/Row|L={{{label6|}}}|D={{{data6|}}}|{{{6|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label7|}}}|D={{{data7|}}}|{{{7|}}}|Rowbg}}{{Infobox/Row|L={{{label8|}}}|D={{{data8|}}}|{{{8|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label9|}}}|D={{{data9|}}}|{{{9|}}}|Rowbg}}{{Infobox/Row|L={{{label10|}}}|D={{{data10|}}}|{{{10|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label11|}}}|D={{{data11|}}}|{{{11|}}}|Rowbg}}{{Infobox/Row|L={{{label12|}}}|D={{{data12|}}}|{{{12|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label13|}}}|D={{{data13|}}}|{{{13|}}}|Rowbg}}{{Infobox/Row|L={{{label14|}}}|D={{{data14|}}}|{{{14|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label15|}}}|D={{{data15|}}}|{{{15|}}}|Rowbg}}{{Infobox/Row|L={{{label16|}}}|D={{{data16|}}}|{{{16|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label17|}}}|D={{{data17|}}}|{{{17|}}}|Rowbg}}{{Infobox/Row|L={{{label18|}}}|D={{{data18|}}}|{{{18|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label19|}}}|D={{{data19|}}}|{{{19|}}}|Rowbg}}{{Infobox/Row|L={{{label20|}}}|D={{{data20|}}}|{{{20|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label21|}}}|D={{{data21|}}}|{{{21|}}}|Rowbg}}{{Infobox/Row|L={{{label22|}}}|D={{{data22|}}}|{{{22|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label23|}}}|D={{{data23|}}}|{{{23|}}}|Rowbg}}{{Infobox/Row|L={{{label24|}}}|D={{{data24|}}}|{{{24|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label25|}}}|D={{{data25|}}}|{{{25|}}}|Rowbg}}{{Infobox/Row|L={{{label26|}}}|D={{{data26|}}}|{{{26|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label27|}}}|D={{{data27|}}}|{{{27|}}}|Rowbg}}{{Infobox/Row|L={{{label28|}}}|D={{{data28|}}}|{{{28|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label29|}}}|D={{{data29|}}}|{{{29|}}}|Rowbg}}{{Infobox/Row|L={{{label30|}}}|D={{{data30|}}}|{{{30|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label31|}}}|D={{{data31|}}}|{{{31|}}}|Rowbg}}{{Infobox/Row|L={{{label32|}}}|D={{{data32|}}}|{{{32|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label33|}}}|D={{{data33|}}}|{{{33|}}}|Rowbg}}{{Infobox/Row|L={{{label34|}}}|D={{{data34|}}}|{{{34|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label35|}}}|D={{{data35|}}}|{{{35|}}}|Rowbg}}{{Infobox/Row|L={{{label36|}}}|D={{{data36|}}}|{{{36|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label37|}}}|D={{{data37|}}}|{{{37|}}}|Rowbg}}{{Infobox/Row|L={{{label38|}}}|D={{{data38|}}}|{{{38|}}}|Rowbg-alt}}{{Infobox/Row|L={{{label39|}}}|D={{{data39|}}}|{{{39|}}}|Rowbg}}{{Infobox/Row|L={{{label40|}}}|D={{{data40|}}}|{{{40|}}}|Rowbg-alt}}
+
</table>
+
</includeonly></onlyinclude>
+

Latest revision as of 14:30, 6 May 2010