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

刪去的內容 新增的內容
Legobot談詑 | 貢獻
Bot: Migrating 41 interwiki links, now provided by Wikidata on d:q8983817 (translate me)
Great Brightstar談詑 | 貢獻
無編輯摘要
標籤行動版編輯 行動版網頁編輯
第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) -->
<div style="float: {{{float|none}}}; clear: {{{float|none}}};">
style="width: {{#if:{{{width|}}}|{{{width}}}|200}}px;
<div style="position: relative;">
<div style=" {{#if:{{{float|}}}|float: {{{float|none}}}; clear: {{{float|none}}};">}}
[[Image:{{{image|Example.png}}}|{{{width|400}}}px]]<noinclude>
{{#if:{{{margin|}}}|margin: {{{margin}}};}}
</div>
{{#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}}}}}};
<div style=" 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>
[[Category:模板]]