Difference between revisions of "Template:Infobox"

From Bitcoin Wiki
Jump to: navigation, search
(Undo revision 52432 by Taras (talk))
Line 3: Line 3:
 
|  This is a very complex template!  |
 
|  This is a very complex template!  |
 
|                                      |
 
|                                      |
|       Created by User:Taras         |
+
|     Brought to ya by User:Taras     |
 
<-------------------------------------->
 
<-------------------------------------->
 
<noinclude></noinclude><div class="quotebox {{{class|}}}" style="
 
<noinclude></noinclude><div class="quotebox {{{class|}}}" style="
Line 26: Line 26:
 
         font-weight: bold;  
 
         font-weight: bold;  
 
         {{{tstyle|}}}">{{{title|Title}}}
 
         {{{tstyle|}}}">{{{title|Title}}}
{{#if:{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}|<br/>{{{image|{{{image1|<noinclude>[[File:Information_orange.png]]</noinclude>}}}}}}</div>{{#if:{{{caption|{{{caption1|}}}}}}|<br /><i><center><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span></center></i>}}}}
+
{{#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;">{{#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>}}}

Revision as of 15:05, 1 November 2014

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. 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)