「模板:Image label begin」:各本之異

[底本][底本]
刪去的內容 新增的內容
EmausBot
Bot: Migrating 25 interwiki links, now provided by Wikidata on d:q8983817
Great Brightstar
無編輯摘要
掌中纂 纂於掌中卷
第一行:
<onlyinclude><div role="img" class="nounderlines noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) -->
<div style="position: relative; float: {{{float|none}}}; clear: {{{float|none}}};">[[File:{{{image|Example.png}}}|{{{width|400}}}px]]<noinclude>
style="width: {{#if:{{{width|}}}|{{{width}}}|200}}px;
{{#if:{{{float|}}}|float: {{{float}}}; clear: {{{float}}};}}
{{#if:{{{margin|}}}|margin: {{{margin}}};}}
{{#if:{{{padding|}}}|padding: {{{padding}}};}}
{{#if:{{{border|}}}|border: {{{border}}};}}
{{#if:{{{font-size|}}}|font-size: {{{font-size}}};}}
line-height: 1;
text-align: {{{text-align|center}}};
background-color: {{{svg-background-color|{{{background-color|#ffffff}}}}}};
position: relative;
max-width: 100%; <!-- deals with large images on mobile overflowing -->
overflow-x: {{{overflow-x|auto}}};"><!--
-->{{#if:{{{fullimage|}}}
|{{{fullimage}}}
|[[File:{{{image|Example-zh.jpg}}}{{#if:{{{thumb|}}}|{{!}}thumb}}|{{#if:{{{width|}}}|{{{width}}}|200}}px|{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]
}}</onlyinclude><noinclude>
</div>