Template:Panorama: Difference between revisions

From Jcastle.info
(Created page with "<includeonly><div class="thumb {{#switch:{{{align|}}} |left= tleft" style=" |right= tright" style=" |none= tnone" style=" |#default=tnone" style="margin:0 auto;}} {{#if:{{{box...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="thumb {{#switch:{{{align|}}}
<div class="thumb" style="margin: 0 5px; clear: both; width: 100%;">
|left= tleft" style="
<div class="overflowbugx" style="overflow-x:auto;overflow-y:visible;{{#if: {{{2}}}| width:{{{2|}}};}}">{{Template:{{{1}}}}}
|right= tright" style="
</div>
|none= tnone" style="
{{#if: {{{3}}}|<div class="thumbcaption" style="margin: 0 5px; font-size:90%">{{{3|}}}</div>}}</div>
|#default=tnone" style="margin:0 auto;}} {{#if:{{{box-width|{{{width|}}}}}}|width: {{{box-width|{{{width|}}}}}};|width: -moz-min-content; width: -webkit-min-content; width: min-content;}} max-width: 100%; {{{1|}}}"><div class="thumbinner"><div class="noresize" style="overflow: auto; {{#ifeq:{{{dir|}}}|rtl|direction: rtl;}}">[[File:{{{image}}}|{{#expr:{{str sub|{{{width}}}|0|{{#expr:{{str find|{{{width}}}|px}} -1}}}} - 8}}{{#if:{{{height|}}}|x{{#expr:{{str sub|{{{height}}}|0|{{#expr:{{str find|{{{height}}}|px}} -1}}}} - 8}}}}px|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{caption}}}
|thumb
|thumbnail
|frame
|border={{{image}}}
|#default={{#if:{{{caption|}}}|{{#ifeq:{{{dir|}}}|rtl|&#x202A;}}{{{caption|}}}{{#ifeq:{{{dir|}}}|rtl|&#x202C;}}|}}}}}}]]</div>{{#if:{{{caption|}}}|<div class="thumbcaption"><div class="magnify">[[:File:{{{image}}}| ]]</div>{{{caption|}}}</div>}}</div></div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:48, 5 May 2019

{{Template:{{{1}}}}}