Template:Widepic: Difference between revisions
Shakey snake (talk | contribs) No edit summary |
Shakey snake (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="thumb" style="border: 0; width:{{{4|100%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px; margin-left: auto; margin-right:auto;"> | <includeonly><div class="thumb" style="border: 0; width:{{{4|100%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px; margin-left: auto; margin-right:auto;"> | ||
<div class="overflowbugx" style="overflow:auto;">[[Image:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]] | <div class="overflowbugx" style="overflow:auto;">[[Image:{{{1}}}|{{{2}}}|alt={{{alt||}}}|{{{3|}}}]]</div></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
:<code><nowiki>{{</nowiki>Widepic|''img url''|''image width | :<code><nowiki>{{</nowiki>Widepic|''img url''|''image width''<nowiki>}}</nowiki></code> | ||
</noinclude> | </noinclude> |
Revision as of 00:12, 18 April 2010
Usage
{{Widepic|img url|image width}}