Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|Please do not edit without discussion!| | |Please do not edit without discussion!| | ||
| This is a very complex template! | | | This is a very complex template! | | ||
<--------------------------------------> | <--------------------------------------> | ||
<noinclude></noinclude><div class="quotebox {{{class|}}}" style=" | <noinclude></noinclude><div class="quotebox {{{class|}}}" style=" | ||
Line 27: | Line 25: | ||
{{{tstyle|}}}">{{{title|Title}}} | {{{tstyle|}}}">{{{title|Title}}} | ||
{{#if:{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}|<br/>{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|font-size: normal; font-weight: normal; font-style: italic;}}}">{{{caption|{{{caption1|}}}}}}</span>}}}}</div> | {{#if:{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}|<br/>{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|font-size: normal; font-weight: normal; font-style: italic;}}}">{{{caption|{{{caption1|}}}}}}</span>}}}}</div> | ||
<table width=100% style="border-collapse:collapse;">{{#if: {{{header1|}}}|<tr style="text-align:center"><td colspan=2><b> | <center>{{{hat|}}}</center><table width=100% style="border-collapse:collapse;">{{#if: {{{header1|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header1|<noinclude>Header 1</noinclude>}}} | {{{header1|<noinclude>Header 1</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data1|}}}|<tr><td width=36% style="vertical-align:top;"><b>{{{content1|<noinclude>Content 1</noinclude>}}}</b></td><td>{{{data1|<noinclude>Data 1</noinclude>}}}</td></tr>}}{{#if: {{{header2|}}}|<tr style="text-align:center"><td colspan=2><b> | </b></td></tr>}}{{#if: {{{data1|<noinclude>$</noinclude>}}}|<tr><td width=36% style="vertical-align:top;"><b>{{{content1|<noinclude>Content 1</noinclude>}}}</b></td><td>{{{data1|<noinclude>Data 1</noinclude>}}}</td></tr>}}{{#if: {{{header2|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header2|<noinclude>Header 2</noinclude>}}} | {{{header2|<noinclude>Header 2</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data2|}}}|<tr><td style="vertical-align:top;"><b>{{{content2|<noinclude>Content 2</noinclude>}}}</b></td><td>{{{data2|<noinclude>Data 2</noinclude>}}}</td></tr>}}{{#if: {{{header3|}}}|<tr style="text-align:center"><td colspan=2><b> | </b></td></tr>}}{{#if: {{{data2|<noinclude>$</noinclude><noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content2|<noinclude>Content 2</noinclude>}}}</b></td><td>{{{data2|<noinclude>Data 2</noinclude>}}}</td></tr>}}{{#if: {{{header3|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header3|<noinclude>Header 3</noinclude>}}} | {{{header3|<noinclude>Header 3</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data3|}}}|<tr><td style="vertical-align:top;"><b>{{{content3|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data3|<noinclude>Data 3</noinclude>}}}</td></tr>}}{{#if: {{{header4|}}}|<tr style="text-align:center"><td colspan=2><b> | </b></td></tr>}}{{#if: {{{data3|<noinclude>$</noinclude><noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content3|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data3|<noinclude>Data 3</noinclude>}}}</td></tr>}}{{#if: {{{header4|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header4|<noinclude>Header 4</noinclude>}}} | {{{header4|<noinclude>Header 4</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data4|}}}|<tr><td style="vertical-align:top;"><b>{{{content4|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data4|<noinclude>Data 4</noinclude>}}}</td></tr>}}{{#if: {{{header5|}}}| | </b></td></tr>}}{{#if: {{{data4|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content4|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data4|<noinclude>Data 4</noinclude>}}}</td></tr>}}{{#if: {{{header5|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header5|<noinclude>Header 5</noinclude>}}} | {{{header5|<noinclude>Header 5</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data5|}}}|<tr><td style="vertical-align:top;"><b>{{{content5|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data5|<noinclude>Data 5</noinclude>}}}</td></tr>}}{{#if: {{{header6|}}}| | </b></td></tr>}}{{#if: {{{data5|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content5|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data5|<noinclude>Data 5</noinclude>}}}</td></tr>}}{{#if: {{{header6|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header6|<noinclude>Header 6</noinclude>}}} | {{{header6|<noinclude>Header 6</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data6|}}}|<tr><td style="vertical-align:top;"><b>{{{content6|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data6|<noinclude>Data 6</noinclude>}}}</td></tr>}}{{#if: {{{header7|}}}| | </b></td></tr>}}{{#if: {{{data6|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content6|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data6|<noinclude>Data 6</noinclude>}}}</td></tr>}}{{#if: {{{header7|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header7|<noinclude>Header 7</noinclude>}}} | {{{header7|<noinclude>Header 7</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data7|}}}|<tr><td style="vertical-align:top;"><b>{{{content7|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data7|<noinclude>Data 7</noinclude>}}}</td></tr>}}{{#if: {{{header8|}}}| | </b></td></tr>}}{{#if: {{{data7|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content7|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data7|<noinclude>Data 7</noinclude>}}}</td></tr>}}{{#if: {{{header8|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header8|<noinclude>Header 8</noinclude>}}} | {{{header8|<noinclude>Header 8</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data8|}}}|<tr><td style="vertical-align:top;"><b>{{{content8|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data8|<noinclude>Data 8</noinclude>}}}</td></tr>}}{{#if: {{{header9|}}}| | </b></td></tr>}}{{#if: {{{data8|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content8|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data8|<noinclude>Data 8</noinclude>}}}</td></tr>}}{{#if: {{{header9|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header9|<noinclude>Header 9</noinclude>}}} | {{{header9|<noinclude>Header 9</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data9|}}}|<tr><td style="vertical-align:top;"><b>{{{content9|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data9|<noinclude>Data 9</noinclude>}}}</td></tr>}}{{#if: {{{header10|}}}|<tr style="text-align:center"><td colspan=2><b> | </b></td></tr>}}{{#if: {{{data9|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content9|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data9|<noinclude>Data 9</noinclude>}}}</td></tr>}}{{#if: {{{header10|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header10|<noinclude>Header 10</noinclude>}}} | {{{header10|<noinclude>Header 10</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data10|}}}|<tr><td style="vertical-align:top;"><b>{{{content10|<noinclude>Content | </b></td></tr>}}{{#if: {{{data10|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content10|<noinclude>Content 10</noinclude>}}}</b></td><td>{{{data10|<noinclude>Data 10</noinclude>}}}</td></tr>}}{{#if: {{{header11|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header11|<noinclude>Header 11</noinclude>}}} | {{{header11|<noinclude>Header 11</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data11|}}}|<tr><td style="vertical-align:top;"><b>{{{content11|<noinclude>Content | </b></td></tr>}}{{#if: {{{data11|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content11|<noinclude>Content 11</noinclude>}}}</b></td><td>{{{data11|<noinclude>Data 11</noinclude>}}}</td></tr>}}{{#if: {{{header12|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header12|<noinclude>Header 12</noinclude>}}} | {{{header12|<noinclude>Header 12</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data12|}}}|<tr><td style="vertical-align:top;"><b>{{{content12|<noinclude>Content | </b></td></tr>}}{{#if: {{{data12|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content12|<noinclude>Content 12</noinclude>}}}</b></td><td>{{{data12|<noinclude>Data 12</noinclude>}}}</td></tr>}}{{#if: {{{header13|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header13|<noinclude>Header 13</noinclude>}}} | {{{header13|<noinclude>Header 13</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data13|}}}|<tr><td style="vertical-align:top;"><b>{{{content13|<noinclude>Content | </b></td></tr>}}{{#if: {{{data13|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content13|<noinclude>Content 13</noinclude>}}}</b></td><td>{{{data13|<noinclude>Data 13</noinclude>}}}</td></tr>}}{{#if: {{{header14|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header14|<noinclude>Header 14</noinclude>}}} | {{{header14|<noinclude>Header 14</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data14|}}}|<tr><td style="vertical-align:top;"><b>{{{content14|<noinclude>Content | </b></td></tr>}}{{#if: {{{data14|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content14|<noinclude>Content 14</noinclude>}}}</b></td><td>{{{data14|<noinclude>Data 14</noinclude>}}}</td></tr>}}{{#if: {{{header15|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header15|<noinclude>Header 15</noinclude>}}} | {{{header15|<noinclude>Header 15</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data15|}}}|<tr><td style="vertical-align:top;"><b>{{{content15|<noinclude>Content | </b></td></tr>}}{{#if: {{{data15|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content15|<noinclude>Content 15</noinclude>}}}</b></td><td>{{{data15|<noinclude>Data 15</noinclude>}}}</td></tr>}}{{#if: {{{header16|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header16|<noinclude>Header 16</noinclude>}}} | {{{header16|<noinclude>Header 16</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data16|}}}|<tr><td style="vertical-align:top;"><b>{{{content16|<noinclude>Content | </b></td></tr>}}{{#if: {{{data16|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content16|<noinclude>Content 16</noinclude>}}}</b></td><td>{{{data16|<noinclude>Data 16</noinclude>}}}</td></tr>}}{{#if: {{{header17|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header17|<noinclude>Header 17</noinclude>}}} | {{{header17|<noinclude>Header 17</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data17|}}}|<tr><td style="vertical-align:top;"><b>{{{content17|<noinclude>Content | </b></td></tr>}}{{#if: {{{data17|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content17|<noinclude>Content 17</noinclude>}}}</b></td><td>{{{data17|<noinclude>Data 17</noinclude>}}}</td></tr>}}{{#if: {{{header18|}}}|<tr style="text-align:center"><td colspan=2><b> | ||
{{{header18|<noinclude>Header 18</noinclude>}}} | {{{header18|<noinclude>Header 18</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data18|}}}|<tr><td style="vertical-align:top;"><b>{{{content18|<noinclude>Content | </b></td></tr>}}{{#if: {{{data18|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content18|<noinclude>Content 18</noinclude>}}}</b></td><td>{{{data18|<noinclude>Data 18</noinclude>}}}</td></tr>}}{{#if: {{{header19|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header19|<noinclude>Header 19</noinclude>}}} | {{{header19|<noinclude>Header 19</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data19|}}}|<tr><td style="vertical-align:top;"><b>{{{content19|<noinclude>Content | </b></td></tr>}}{{#if: {{{data19|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content19|<noinclude>Content 19</noinclude>}}}</b></td><td>{{{data19|<noinclude>Data 19</noinclude>}}}</td></tr>}}{{#if: {{{header20|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header20|<noinclude>Header 6</noinclude>}}} | {{{header20|<noinclude>Header 6</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data20|}}}|<tr><td style="vertical-align:top;"><b>{{{content20|<noinclude>Content | </b></td></tr>}}{{#if: {{{data20|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content20|<noinclude>Content 20</noinclude>}}}</b></td><td>{{{data20|<noinclude>Data 20</noinclude>}}}</td></tr>}}{{#if: {{{header21|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header21|<noinclude>Header 7</noinclude>}}} | {{{header21|<noinclude>Header 7</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data21|}}}|<tr><td style="vertical-align:top;"><b>{{{content21|<noinclude>Content | </b></td></tr>}}{{#if: {{{data21|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content21|<noinclude>Content 21</noinclude>}}}</b></td><td>{{{data21|<noinclude>Data 21</noinclude>}}}</td></tr>}}{{#if: {{{header22|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header22|<noinclude>Header 8</noinclude>}}} | {{{header22|<noinclude>Header 8</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data22|}}}|<tr><td style="vertical-align:top;"><b>{{{content22|<noinclude>Content | </b></td></tr>}}{{#if: {{{data22|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content22|<noinclude>Content 22</noinclude>}}}</b></td><td>{{{data22|<noinclude>Data 22</noinclude>}}}</td></tr>}}{{#if: {{{header23|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header23|<noinclude>Header 9</noinclude>}}} | {{{header23|<noinclude>Header 9</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data23|}}}|<tr><td style="vertical-align:top;"><b>{{{content23|<noinclude>Content | </b></td></tr>}}{{#if: {{{data23|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content23|<noinclude>Content 23</noinclude>}}}</b></td><td>{{{data23|<noinclude>Data 23</noinclude>}}}</td></tr>}}{{#if: {{{header24|}}}| | ||
<tr style="text-align:center"><td colspan=2><b> | <tr style="text-align:center"><td colspan=2><b> | ||
{{{header24|<noinclude>Header 10</noinclude>}}} | {{{header24|<noinclude>Header 10</noinclude>}}} | ||
</b></td></tr>}}{{#if: {{{data24|}}}|<tr><td style="vertical-align:top;"><b>{{{content24|<noinclude>Content | </b></td></tr>}}{{#if: {{{data24|<noinclude>$</noinclude>}}}|<tr><td style="vertical-align:top;"><b>{{{content24|<noinclude>Content 24</noinclude>}}}</b></td><td>{{{data24|<noinclude>Data 24</noinclude>}}}</td></tr>}} | ||
}}</table> | }}</table> | ||
<center>{{{foot|}}}</center> | |||
</div> | </div> | ||
<noinclude> | <noinclude>{{doc begin}} | ||
==Arguments== | ==Arguments== | ||
*title=<i>text</i> - Required - Definition of title. Lack thereof destroys the render. | *title=<i>text</i> - Required - Definition of title. Lack thereof destroys the render. | ||
Line 104: | Line 103: | ||
Doc last revised by: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 22:00, 13 August 2014 (UTC)</noinclude> | Doc last revised by: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 22:00, 13 August 2014 (UTC)</noinclude> | ||
{{end}} |
Revision as of 22:24, 15 March 2015
Content 1 | Data 1 |
Content 2 | Data 2 |
Content 3 | Data 3 |
Content 4 | Data 4 |
Content 5 | Data 5 |
Content 6 | Data 6 |
Content 7 | Data 7 |
Content 8 | Data 8 |
Content 9 | Data 9 |
Content 10 | Data 10 |
Content 11 | Data 11 |
Content 12 | Data 12 |
Content 13 | Data 13 |
Content 14 | Data 14 |
Content 15 | Data 15 |
Content 16 | Data 16 |
Content 17 | Data 17 |
Content 18 | Data 18 |
Content 19 | Data 19 |
Content 20 | Data 20 |
Content 21 | Data 21 |
Content 22 | Data 22 |
Content 23 | Data 23 |
Content 24 | Data 24 |
Documentation for Infobox
Arguments
- title=text - Required - Definition of title. Lack thereof destroys the render.
- image1=path - Places an image found from the given path.
- headern=text - Where n is the location of the header, 1 being directly under the icon or n being directly under content ID n-1, place a header with text. Current maximum of 24.
- contentn=text - Insert a row of data with text for a title at position n. Current maximum of 24.
- datan=text - Insert text corresponding to content at same position. Ignored when respective content ID is undefined.
There are many more arguments that I recommend using sparingly. If you want them, check the source.
Doc last revised by: Taras (talk) 22:00, 13 August 2014 (UTC)