Template:Wide image: Difference between revisions

From Halachipedia
(Created page with '<div class="thumb" style="width:{{{4|100%}}};{{#switch:{{{5}}} |left=<nowiki> </nowiki>float:left;margin-right:1em; |right=<nowiki> </nowiki>float:right;margin-left:1em |#default…')
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="thumb" style="width:{{{4|100%}}};{{#switch:{{{5}}}
<includeonly><div class="thumb {{#switch:{{{5}}}
|left=<nowiki> </nowiki>float:left;margin-right:1em;
|left=<nowiki> </nowiki>tleft" style="
|right=<nowiki> </nowiki>float:right;margin-left:1em
|right=<nowiki> </nowiki>tright" style="
|#default=
|#default=<nowiki> </nowiki>tnone" style="margin-left: auto; margin-right:auto;
}}">
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
<div class="thumbinner"><div style="overflow:auto; overflow-y:hidden; overflow-x:scroll;">[[Image:{{{1}}}|{{{2}}}|{{#switch:{{{3}}}
<div class="thumbinner"><div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}}
|thumb
|thumb
|thumbnail
|thumbnail
|frame
|frame
|border={{{1}}}
|border={{{1}}}
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption">{{{3|}}}</div>|}}
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption">{{Magnify icon|link=File:{{{1}}} }}<!-- -->{{{3}}}</div>|}}
</div></div>
</div></div></includeonly><noinclude>
<noinclude>[[Category:Templates]]</noinclude>
{{documentation}}
<!-- If you copy this template, you need to add the overflowx and overflowy CSS classes to your global CSS for Internet Explorer users. On the English Wikipedia, these are conditionally loaded by [[MediaWiki:Common.js]] -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 01:46, 15 September 2010

File:Template-info.png Template documentation[create]