Difference between revisions of "Template:Widepic"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
 
(4 intermediate revisions by one user not shown)
Line 8: Line 8:
  
  
==ignore this, this part doesn't work for whatever reason==
+
==ignore this, this caption part doesn't work for whatever reason, even if [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if it should]==
{{#if: {{{3|}}}|<div class="thumbcaption" style="text-align:center; font-size: 80%; font-weight: normal;">{{{3}}}</div>|  }}
+
<nowiki>{{ #if: {{{3|}}} | <div class="thumbcaption" style="text-align:center; font-size: 80%; font-weight: normal;">{{{3}}}</div> |  }}</nowiki>
  
 
</noinclude>
 
</noinclude>

Latest revision as of 02:01, 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.


ignore this, this caption part doesn't work for whatever reason, even if it should

{{ #if: {{{3|}}} | <div class="thumbcaption" style="text-align:center; font-size: 80%; font-weight: normal;">{{{3}}}</div> | }}