Difference between revisions of "Template:Infobox"

From Bitcoin Wiki
Jump to: navigation, search
m
Line 21: Line 21:
 
         {{{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|}}}">{{{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|}}}">{{{caption|{{{caption1}}}}}}</span>}}}}</div>
<table width=100% style="border-collapse:collapse;"><tr style="text-align:center">{{#if: {{{header1|}}}|<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: {{{content1|}}}|<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: {{{content1|}}}|<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>
 
{{{header2|<noinclude>Header 2</noinclude>}}}
 
{{{header2|<noinclude>Header 2</noinclude>}}}
</b></td></tr>}}{{#if: {{{content2|}}}|<tr><td><b>{{{content2|<noinclude>Content 2</noinclude>}}}</b></td><td>{{{data2|<noinclude>Data 2</noinclude>}}}</td></tr>}}<tr style="text-align:center"><td colspan=2><b>
+
</b></td></tr>}}{{#if: {{{content2|}}}|<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>
 
{{{header3|<noinclude>Header 3</noinclude>}}}
 
{{{header3|<noinclude>Header 3</noinclude>}}}
</b></td></tr><tr><td><b>{{{content3|<noinclude>Content 3</noinclude>}}}</b></td><td>{{{data3|<noinclude>Data 3</noinclude>}}}</td></tr><tr style="text-align:center"><td colspan=2><b>
+
</b></td></tr>}}{{#if: {{{content3|}}}|<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>
 
{{{header4|<noinclude>Header 4</noinclude>}}}
 
{{{header4|<noinclude>Header 4</noinclude>}}}
</b></td></tr><tr><td><b>{{{content4|<noinclude>Content 4</noinclude>}}}</b></td><td>{{{data4|<noinclude>Data 4</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content4|}}}|<tr><td><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><tr><td><b>{{{content5|<noinclude>Content 5</noinclude>}}}</b></td><td>{{{data5|<noinclude>Data 5</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content5|}}}|<tr><td><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><tr><td><b>{{{content6|<noinclude>Content 6</noinclude>}}}</b></td><td>{{{data6|<noinclude>Data 6</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content6|}}}|<tr><td><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><tr><td><b>{{{content7|<noinclude>Content 7</noinclude>}}}</b></td><td>{{{data7|<noinclude>Data 7</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content7|}}}|<tr><td><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><tr><td><b>{{{content8|<noinclude>Content 8</noinclude>}}}</b></td><td>{{{data8|<noinclude>Data 8</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content8|}}}|<tr><td><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><tr><td><b>{{{content9|<noinclude>Content 9</noinclude>}}}</b></td><td>{{{data9|<noinclude>Data 9</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content9|}}}|<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>
 
<tr style="text-align:center"><td colspan=2><b>
 
{{{header10|<noinclude>Header 10</noinclude>}}}
 
{{{header10|<noinclude>Header 10</noinclude>}}}
</b></td></tr><tr><td><b>{{{content10|<noinclude>Content 10</noinclude>}}}</b></td><td>{{{data10|<noinclude>Data 10</noinclude>}}}</td></tr>
+
</b></td></tr>}}{{#if: {{{content10|}}}|<tr><td><b>{{{content10|<noinclude>Content 10</noinclude>}}}</b></td><td>{{{data10|<noinclude>Data 10</noinclude>}}}</td></tr>}}
</table>}}
+
}}</table>
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 
==Arguments==
 
==Arguments==
list here
+
*title=<i>text</i> - Required - Definition of title. Lack thereof destroys the render.
</noinclude>
+
*image1=<i>path</i> - Places an image found from the given path.
 +
*header<i>n</i>=<i>text</i> - 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.
 +
*content<i>n</i>=<i>text</i> - Insert a row of data with text for a title at position n.
 +
*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.
 +
Doc last revised at following time: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 23:04, 9 April 2014 (UTC)</noinclude>

Revision as of 23:04, 9 April 2014

This page is currently undergoing a major edit.
To help avoid edit conflicts, please do not edit this page while this message is displayed.

Title
Information orange.png

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.
  • contentn=text - Insert a row of data with text for a title at position n.
  • 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 at following time: Taras (talk) 23:04, 9 April 2014 (UTC)