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

Da wiki OrthodoxWiki
Ir para: navegação, pesquisa
(Criou a página com "{{#if:{{{imagem|}}}|{{#switch:{{{Location|{{{Align|}}}}}} | center | centre = <div class="center">}}<div class="{{#if:{{{Description|}}}|thumb <!-- -->{{#switch:{{{Location|...")
 
 
(Há 3 edições intermédias do mesmo utilizador que não estão a ser apresentadas)
Linha 1: Linha 1:
{{#if:{{{imagem|}}}|{{#switch:{{{Location|{{{Align|}}}}}}
+
{{#if:{{{imagem|}}}|{{#switch:{{{local|{{{Align|}}}}}}
 
| center | centre = <div class="center">}}<div class="{{#if:{{{Description|}}}|thumb <!--
 
| center | centre = <div class="center">}}<div class="{{#if:{{{Description|}}}|thumb <!--
-->{{#switch:{{{Location|{{{Align|}}}}}}
+
-->{{#switch:{{{local|{{{Align|}}}}}}
 
  | none | tnone | center | centre = tnone
 
  | none | tnone | center | centre = tnone
 
  | left | tleft = tleft
 
  | left | tleft = tleft
 
  | right | tright = tright
 
  | right | tright = tright
 
  | #default = tright }}|<!-- if no description:
 
  | #default = tright }}|<!-- if no description:
-->{{#switch:{{{Location|{{{Align|}}}}}}
+
-->{{#switch:{{{local|{{{Align|}}}}}}
 
  | none | center | centre = floatnone
 
  | none | center | centre = floatnone
 
  | left = floatleft
 
  | left = floatleft
 
  | right = floatright}}}}">
 
  | right = floatright}}}}">
{{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{cWidth}}}+2}}px;">}}
+
{{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{largura}}}+2}}px;">}}
<div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{cWidth}}}px; height: {{{cHeight}}}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 20: Linha 20:
 
</div>}}
 
</div>}}
 
</div>
 
</div>
</div>{{#switch:{{{Location|{{{Align|}}}}}}
+
</div>{{#switch:{{{local|{{{Align|}}}}}}
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{cWidth|}}}{{{cHeight|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}
+
| center | centre = </div>}}}}

Edição atual desde as 03h39min de 3 de dezembro de 2023