「模板:Image label begin」:修訂間差異

出自維基百科
刪去的內容 新增的內容
Great Brightstar談詑 | 貢獻
無編輯摘要
標籤行動版編輯 行動版網頁編輯
Great Brightstar談詑 | 貢獻
無編輯摘要
 
第1行: 第1行:
<onlyinclude><div role="img" class="nounderlines noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) -->
<onlyinclude><div role="img" class="{{#switch:{{{float|}}}|left=floatleft|right=floatright}} nounderlines noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) -->
style="width: {{#if:{{{width|}}}|{{{width}}}|200}}px;
style="width: {{#if:{{{thumb|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|200}}+16}}|{{#if:{{{border2|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|200}}+2}}|{{#if:{{{width|}}}|{{{width}}}|200}}}}}}px;
{{#if:{{{float|}}}|float: {{{float}}}; clear: {{{float}}};}}
{{#if:{{{margin|}}}|margin: {{{margin}}};}}
{{#if:{{{margin|}}}|margin: {{{margin}}};}}
{{#if:{{{padding|}}}|padding: {{{padding}}};}}
{{#if:{{{padding|}}}|padding: {{{padding}}};}}
第13行: 第12行:
-->{{#if:{{{fullimage|}}}
-->{{#if:{{{fullimage|}}}
|{{{fullimage}}}
|{{{fullimage}}}
|[[File:{{{image|Example-zh.jpg}}}{{#if:{{{border2|}}}|{{!}}border}}{{#if:{{{thumb|}}}|{{!}}thumb}}|{{#if:{{{width|}}}|{{{width}}}|200}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]
|[[File:{{{image|Example-zh.jpg}}}{{#if:{{{border2|}}}|{{!}}border}}{{#if:{{{thumb|}}}|{{!}}thumb{{!}}none}}|{{#if:{{{width|}}}|{{{width}}}|200}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]
}}</onlyinclude><noinclude>
}}</onlyinclude><noinclude>
</div>
</div>

到 2019年2月15日 (禮拜五) 16:54 嗰眼下改動