Differenze tra le versioni di "Template:Wide image"

Da CIW.
 
(2 versioni intermedie di uno stesso utente non sono mostrate)
Riga 4: Riga 4:
 
|none= tnone" style="
 
|none= tnone" style="
 
|#default=tnone" style="margin-left: auto; margin-right:auto;
 
|#default=tnone" style="margin-left: auto; margin-right:auto;
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
+
}} width:{{{4|99%}}}; max-width:{{{2}}}px;">
<div class="thumbinner" style="{{yesno|{{{border|}}}|no=border-width:0; background:transparent;|blank=}}"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}}
+
<div class="thumbinner" style="{{yesno|{{{border|}}}|no=border-width:0; background:transparent;|blank=}}"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}><div class="magnify">[[:File:{{{1}}}| ]]</div>{{{3}}}</div>|}}
|thumb
 
|thumbnail
 
|frame
 
|border={{{1}}}
 
|#default={{{3|}}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}><div class="magnify">[[:File:{{{1}}}| ]]</div>{{{3}}}</div>|}}
 
 
</div></div></includeonly><noinclude>
 
</div></div></includeonly><noinclude>
 
</noinclude>
 
</noinclude>

Versione attuale delle 11:46, 27 dic 2016