Template:Image label begin: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(Undid revision 416605074 by 158.91.28.90 (talk))
(ugh)
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<div role="img" class="{{#switch:{{{float|}}}|left=floatleft|right=floatright}} noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) -->
<div class="nounderlines" style="width: {{{width|400}}}px; float: {{{float|none}}}; margin: {{{margin|none}}}; padding: {{{padding|none}}}; border: {{{border|none}}}; clear: {{{float|none}}}; background-color: {{{background-color|#ffffff}}}; position: relative;">
<div style="background-color: {{{svg-background-color|}}};">[[File:{{{image|Example.png}}}{{#if:{{{thumb|}}}|{{!}}thumb|}}|{{{width|400}}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]</div><noinclude>
style="width: {{#if:{{{thumb|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|400}}+16}}|{{#if:{{{border2|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|400}}+2}}|{{#if:{{{width|}}}|{{{width}}}|400}}}}}}px; {{#switch:{{{float|}}}|center|centre=margin-left:auto; margin-right:auto;}}
{{#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;
{{#if:{{{overflow-x|}}}|max-width: 100%; <!-- deals with large images on mobile overflowing -->
overflow-x: {{{overflow-x|auto}}};}}"><!--
-->{{#if:{{{fullimage|}}}
|{{{fullimage}}}
|[[File:{{{image|Bad Title Example.png}}}{{#if:{{{border2|}}}|{{!}}border}}{{#if:{{{thumb|}}}|{{!}}thumb{{!}}none}}|{{#if:{{{width|}}}|{{{width}}}|400}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]
}}<noinclude>
</div>
</div>
{{documentation}}
{{Documentation|Template:Image label begin/doc}}

[[ab:Шаблон:Image label begin]]
[[ar:قالب:Image label begin]]
[[bg:Шаблон:Image label begin]]
[[ca:Plantilla:Image label begin]]
[[da:Skabelon:Billedmærke start]]
[[dsb:Pśedłoga:Image label begin]]
[[eo:Ŝablono:Marko sur bildo komenco]]
[[fr:Msuxk my big cock u retarded whores label début]]
[[gl:Modelo:Image label begin]]
[[ko:틀:그림 꼬리표 시작]]
[[hsb:Předłoha:Image label begin]]
[[hr:Predložak:Image label begin]]
[[it:Template:Image label begin]]
[[ka:თარგი:სურათის წარწერა დაიწყე]]
[[lo:ແມ່ແບບ:Image label begin]]
[[ml:ഫലകം:Image label begin]]
[[nl:Sjabloon:Afbeelding label begin]]
[[ja:Template:Image label begin]]
[[no:Mal:Image label begin]]
[[nn:Mal:Image label begin]]
[[pt:Predefinição:Image label begin]]
[[ru:Шаблон:Image label begin]]
[[sco:Template:Image label begin]]
[[sr:Шаблон:Image label begin]]
[[zh:Template:Image label begin]]
</noinclude>
</noinclude>

Latest revision as of 14:36, 6 July 2022