Diferenças entre edições de "Predefinição:Recortar"

Da wiki OrthodoxWiki
Ir para: navegação, pesquisa
Linha 12: Linha 12:
 
{{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{largura}}}+2}}px;">}}
 
{{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{largura}}}+2}}px;">}}
 
<div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{largura}}}px; height: {{{altura}}}px; overflow: hidden;">
 
<div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{largura}}}px; height: {{{altura}}}px; overflow: hidden;">
<div style="position: relative; top: -{{{oTop|0}}}px; left: -{{{oLeft|0}}}px; width: {{{bSize}}}px"><!--
+
<div style="position: relative; top: -{{{y|0}}}px; left: -{{{x|0}}}px; width: {{{bSize}}}px"><!--
 
--><div class="noresize">[[Imagem:{{{imagem}}}{{#if:{{{bSize|}}}|{{!}}{{{bSize}}}px}}|alt={{{Alt|{{{Description|{{{imagem}}}}}}}}}{{#if:{{{Link|}}}|{{!}}link={{{Link}}}}}{{#if:{{{Page|}}}|{{!}}page={{{Page}}}}}]]</div><!--
 
--><div class="noresize">[[Imagem:{{{imagem}}}{{#if:{{{bSize|}}}|{{!}}{{{bSize}}}px}}|alt={{{Alt|{{{Description|{{{imagem}}}}}}}}}{{#if:{{{Link|}}}|{{!}}link={{{Link}}}}}{{#if:{{{Page|}}}|{{!}}page={{{Page}}}}}]]</div><!--
 
--></div>
 
--></div>
Linha 21: Linha 21:
 
</div>
 
</div>
 
</div>{{#switch:{{{Location|{{{Align|}}}}}}
 
</div>{{#switch:{{{Location|{{{Align|}}}}}}
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{largura|}}}{{{altura|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}
+
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{largura|}}}{{{altura|}}}{{{y|}}}{{{x|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}

Revisão das 03h31min de 3 de dezembro de 2023