Template:Infobox: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Taras (talk | contribs)
No edit summary
Taras (talk | contribs)
No edit summary
Line 3: Line 3:
|  This is a very complex template!  |
|  This is a very complex template!  |
<-------------------------------------->
<-------------------------------------->
<noinclude></noinclude><div class="quotebox {{{class|}}}" style="
<includeonly><div class="quotebox {{{class|}}}" style="
     {{#switch: {{lc:{{{align|}}}}}  
     {{#switch: {{lc:{{{align|}}}}}  
         | center = margin: auto;  
         | center = margin: auto;  
Line 93: Line 93:
<center>{{{foot|}}}</center>
<center>{{{foot|}}}</center>
</div>
</div>
<noinclude>{{doc begin}}{{HighTraffic|100}}
</includeonly><noinclude>{{doc begin}}{{HighTraffic|100}}
This template should not be used on content pages; only on templates. If you're looking for a specific infobox, check [https://en.bitcoin.it/w/index.php?title=Special%3AWhatLinksHere&target=Template%3AInfobox&namespace=10 here].
==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.

Revision as of 17:34, 7 July 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)