Difference between revisions of "Template:Infobox"

From Bitcoin Wiki
Jump to: navigation, search
m (Protected "Template:Infobox": High traffic page ([Edit=<protect-level-templateprotect>] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 23: Line 23:
 
         font-size: larger;  
 
         font-size: larger;  
 
         font-weight: bold;  
 
         font-weight: bold;  
         {{{tstyle|}}}">{{{title|Title}}}
+
         {{{tstyle|}}}">{{{title|Title}}}</div><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>
{{#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>
 
 
<center>{{{hat|}}}</center><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>}}}
Line 104: Line 103:
  
 
Doc last revised by: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 22:00, 13 August 2014 (UTC)
 
Doc last revised by: [[User:Taras|Taras]] ([[User talk:Taras|talk]]) 22:00, 13 August 2014 (UTC)
{{end}}</noinclude>
+
{{end}}{{p-template}}</noinclude>

Revision as of 21:58, 2 August 2015

Documentation for Infobox

This template appears on 100+ pages.
Please discuss any major changes on the talk page.

This template should not be used on content pages; only on templates. If you're looking for a specific infobox, check here.

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)