Diferenças entre edições de "Predefinição:Recortar"
(Criou a página com "{{#if:{{{imagem|}}}|{{#switch:{{{Location|{{{Align|}}}}}} | center | centre = <div class="center">}}<div class="{{#if:{{{Description|}}}|thumb <!-- -->{{#switch:{{{Location|...") |
|||
| Linha 10: | Linha 10: | ||
| left = floatleft | | left = floatleft | ||
| right = floatright}}}}"> | | right = floatright}}}}"> | ||
| − | {{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{ | + | {{#if:{{{Description|}}}|<div class="thumbinner" style="width: {{#expr:{{{largura}}}+2}}px;">}} |
| − | <div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{ | + | <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: -{{{oTop|0}}}px; left: -{{{oLeft|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><!-- | ||
| Linha 21: | Linha 21: | ||
</div> | </div> | ||
</div>{{#switch:{{{Location|{{{Align|}}}}}} | </div>{{#switch:{{{Location|{{{Align|}}}}}} | ||
| − | | center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{ | + | | center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{largura|}}}{{{altura|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}} |