Template:Wide image: Difference between revisions
From Halachipedia
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="thumb | <includeonly><div class="thumb {{#switch:{{{5}}} | ||
|left=<nowiki> </nowiki> | |left=<nowiki> </nowiki>tleft" style=" | ||
| | |right=<nowiki> </nowiki>tright" style=" | ||
|# | |#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 | <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> | |#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption">{{Magnify icon|link=File:{{{1}}} }}<!-- -->{{{3}}}</div>|}} | ||
</div></div></includeonly><noinclude> |