Template:Panorama: Difference between revisions
From Jcastle.info
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{image|}}}|<div class="thumb {{#switch:{{{align}}} | |||
|left= tleft" style=" | |left= tleft" style=" | ||
|right= tright" style=" | |right= tright" style=" | ||
|none= tnone" style=" | |none= tnone" style=" | ||
|#default=tnone" style="margin: | |#default=tnone" style="margin-left: auto; margin-right:auto; overflow:hidden;}} {{#if:{{{width|}}}|width: {{{width|}}};|width: -moz-min-content; width: -webkit-min-content; width: min-content;}} max-width: 100%;">{{#ifeq:{{{border|}}}|no||<div class="thumbinner">}}<div class="noresize overflowbugx" style="overflow: auto; {{#ifeq:{{{dir|}}}|rtl|direction: rtl;}}">[[{{{image}}}|{{#if:{{{height|}}}|x{{{height}}}px}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{caption}}} | ||
|thumb | |thumb | ||
|thumbnail | |thumbnail | ||
|frame | |frame | ||
|border={{{image}}} | |border={{{image}}} | ||
|#default={{#if:{{{caption|}}}|{{#ifeq:{{{dir|}}}|rtl|‪}}{{{caption|}}}{{#ifeq:{{{dir|}}}|rtl|‬}}|}}}}}}]]</div>{{#if:{{{caption|}}}|<div class="thumbcaption"><div class="magnify">[[ | |#default={{#if:{{{caption|}}}|{{#ifeq:{{{dir|}}}|rtl|‪}}{{{caption|}}}{{#ifeq:{{{dir|}}}|rtl|‬}}|}}}}}}]]</div>{{#if:{{{caption|}}}|<div class="thumbcaption">{{#ifeq:{{{border|}}}|no||<div class="magnify">[[:{{{image}}}| ]]</div>}}{{{caption|}}}</div>}}{{#ifeq:{{{border|}}}|no||</div>}}</div>}}<noinclude></noinclude> | ||
<noinclude></noinclude> |