Template:Infobox: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Taras (talk | contribs)
mNo edit summary
Taras (talk | contribs)
No edit summary
Line 1: Line 1:
<!------------------------------------ >
|Please do not edit without discussion!|
|  This is a very complex template!  |
|                                      |
|    Brought to ya by User:Taras      |
<-------------------------------------->
<noinclude></noinclude><div class="quotebox {{{class|}}}" style="
<noinclude></noinclude><div class="quotebox {{{class|}}}" style="
     {{#switch: {{lc:{{{align|}}}}}  
     {{#switch: {{lc:{{{align|}}}}}  
Line 23: Line 29:
<table width=100% style="border-collapse:collapse;">{{#if: {{{header1|}}}|<tr style="text-align:center"><td colspan=2><b>
<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%><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|}}}|<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><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|}}}|<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><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|}}}|<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><b>{{{content4|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data4|<noinclude>Data 4</noinclude>}}}</td></tr>}}{{#if: {{{header5|}}}|
</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|}}}|
<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><b>{{{content5|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data5|<noinclude>Data 5</noinclude>}}}</td></tr>}}{{#if: {{{header6|}}}|
</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|}}}|
<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><b>{{{content6|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data6|<noinclude>Data 6</noinclude>}}}</td></tr>}}{{#if: {{{header7|}}}|
</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|}}}|
<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><b>{{{content7|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data7|<noinclude>Data 7</noinclude>}}}</td></tr>}}{{#if: {{{header8|}}}|
</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|}}}|
<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><b>{{{content8|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data8|<noinclude>Data 8</noinclude>}}}</td></tr>}}{{#if: {{{header9|}}}|
</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|}}}|
<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><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|}}}|<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><b>{{{content10|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data10|<noinclude>Data 3</noinclude>}}}</td></tr>}}{{#if: {{{header11|}}}|<tr style="text-align:center"><td colspan=2><b>
</b></td></tr>}}{{#if: {{{data10|}}}|<tr><td style="vertical-align:top;"><b>{{{content10|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data10|<noinclude>Data 3</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><b>{{{content11|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data11|<noinclude>Data 4</noinclude>}}}</td></tr>}}{{#if: {{{header12|}}}|
</b></td></tr>}}{{#if: {{{data11|}}}|<tr><td style="vertical-align:top;"><b>{{{content11|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data11|<noinclude>Data 4</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><b>{{{content12|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data12|<noinclude>Data 5</noinclude>}}}</td></tr>}}{{#if: {{{header13|}}}|
</b></td></tr>}}{{#if: {{{data12|}}}|<tr><td style="vertical-align:top;"><b>{{{content12|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data12|<noinclude>Data 5</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><b>{{{content13|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data13|<noinclude>Data 6</noinclude>}}}</td></tr>}}{{#if: {{{header14|}}}|
</b></td></tr>}}{{#if: {{{data13|}}}|<tr><td style="vertical-align:top;"><b>{{{content13|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data13|<noinclude>Data 6</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><b>{{{content14|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data14|<noinclude>Data 7</noinclude>}}}</td></tr>}}{{#if: {{{header15|}}}|
</b></td></tr>}}{{#if: {{{data14|}}}|<tr><td style="vertical-align:top;"><b>{{{content14|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data14|<noinclude>Data 7</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><b>{{{content15|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data15|<noinclude>Data 8</noinclude>}}}</td></tr>}}{{#if: {{{header16|}}}|
</b></td></tr>}}{{#if: {{{data15|}}}|<tr><td style="vertical-align:top;"><b>{{{content15|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data15|<noinclude>Data 8</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><b>{{{content16|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data16|<noinclude>Data 9</noinclude>}}}</td></tr>}}{{#if: {{{header17|}}}|<tr style="text-align:center"><td colspan=2><b>
</b></td></tr>}}{{#if: {{{data16|}}}|<tr><td style="vertical-align:top;"><b>{{{content16|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data16|<noinclude>Data 9</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><b>{{{content17|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data17|<noinclude>Data 3</noinclude>}}}</td></tr>}}{{#if: {{{header18|}}}|<tr style="text-align:center"><td colspan=2><b>
</b></td></tr>}}{{#if: {{{data17|}}}|<tr><td style="vertical-align:top;"><b>{{{content17|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data17|<noinclude>Data 3</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><b>{{{content18|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data18|<noinclude>Data 4</noinclude>}}}</td></tr>}}{{#if: {{{header19|}}}|
</b></td></tr>}}{{#if: {{{data18|}}}|<tr><td style="vertical-align:top;"><b>{{{content18|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data18|<noinclude>Data 4</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><b>{{{content19|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data19|<noinclude>Data 5</noinclude>}}}</td></tr>}}{{#if: {{{header20|}}}|
</b></td></tr>}}{{#if: {{{data19|}}}|<tr><td style="vertical-align:top;"><b>{{{content19|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data19|<noinclude>Data 5</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><b>{{{content20|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data20|<noinclude>Data 6</noinclude>}}}</td></tr>}}{{#if: {{{header21|}}}|
</b></td></tr>}}{{#if: {{{data20|}}}|<tr><td style="vertical-align:top;"><b>{{{content20|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data20|<noinclude>Data 6</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><b>{{{content21|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data21|<noinclude>Data 7</noinclude>}}}</td></tr>}}{{#if: {{{header22|}}}|
</b></td></tr>}}{{#if: {{{data21|}}}|<tr><td style="vertical-align:top;"><b>{{{content21|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data21|<noinclude>Data 7</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><b>{{{content22|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data22|<noinclude>Data 8</noinclude>}}}</td></tr>}}{{#if: {{{header23|}}}|
</b></td></tr>}}{{#if: {{{data22|}}}|<tr><td style="vertical-align:top;"><b>{{{content22|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data22|<noinclude>Data 8</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><b>{{{content23|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data23|<noinclude>Data 9</noinclude>}}}</td></tr>}}{{#if: {{{header24|}}}|
</b></td></tr>}}{{#if: {{{data23|}}}|<tr><td style="vertical-align:top;"><b>{{{content23|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data23|<noinclude>Data 9</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><b>{{{content24|<noinclude>Content 10</noinclude>}}}</b></td><td>{{{data24|<noinclude>Data 10</noinclude>}}}</td></tr>}}
</b></td></tr>}}{{#if: {{{data24|}}}|<tr><td style="vertical-align:top;"><b>{{{content24|<noinclude>Content 10</noinclude>}}}</b></td><td>{{{data24|<noinclude>Data 10</noinclude>}}}</td></tr>}}
}}</table>
}}</table>
</div>
</div>
<noinclude>
<noinclude>
<!---==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.
*image1=<i>path</i> - Places an image found from the given path.
*image1=<i>path</i> - Places an image found from the given path.
Line 96: Line 102:
*data<i>n</i>=<i>text</i> - Insert text corresponding to content at same position. Ignored when respective content ID is undefined.
*data<i>n</i>=<i>text</i> - 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.
There are many more arguments that I recommend using sparingly. If you want them, check the source.
Doc last revised at following time:---></noinclude>
 
Doc last revised by: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 22:00, 13 August 2014 (UTC)</noinclude>

Revision as of 22:00, 13 August 2014

Title

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)