「模板:Wide image」:各本之異

[底本][底本]
刪去的內容 新增的內容
Great Brightstar
無編輯摘要
掌中纂 纂於掌中卷
Great Brightstar
無編輯摘要
掌中纂 纂於掌中卷
第一行:
<includeonly><div class="thumb noresize {{#switch:{{{5}}}
|left= tleft" style="
|right= tright" style="
|none= tnone" style="
|#default=tnone" style="margin-left: auto; margin-right:auto; overflow:hidden;
}} width:{{{4|auto}}}; max-width:{{#ifeq:{{{border|}}}|no|{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}}}}px|{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px}};">
<div class="thumbinner" style="{{yesno|#ifeq:{{{border|}}}|no=border-width:0;||<div background:transparent;|blankclass="thumbinner">}}"><div class="noresize overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}}
|thumb
|thumbnail
|frame
|border={{{1}}}
|#default={{#if:{{{3|}}}|{{#ifeq:{{{dir|}}}|rtl|&#x202A;}}{{{3|}}}{{#ifeq:{{{dir|}}}|rtl|&#x202C;}}|}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}>{{#ifeq:{{{border|}}}|no||<div class="magnify">[[:File:{{{1}}}| ]]</div>}}{{{3}}}</div>|}}
{{#ifeq:{{{border|}}}|no||</div>}}</div></includeonly><noinclude>
{{documentation}}[[Category:圖像模板]]
<!-- 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]] -->