Difference between revisions of "Template:Widepic"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
Line 2: Line 2:
 
<div class="overflowbugx" style="overflow:auto;">[[Image:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]]</div>
 
<div class="overflowbugx" style="overflow:auto;">[[Image:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]]</div>
  
{{#if: {{{3|}}}|<div class="thumbcaption" style="text-align:center; font-size: 80%; font-weight: normal;">{{{3}}}</div>|  }}</div></includeonly><noinclude>
+
{{#IF: {{{3|}}}|<div class="thumbcaption" style="text-align:center; font-size: 80%; font-weight: normal;">{{{3}}}</div>|  }}</div></includeonly><noinclude>
 
==Usage==
 
==Usage==
  

Revision as of 01:53, 18 April 2010

Usage

{{Widepic|img url|image width|caption|box width}}

The box width option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount.