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|...") |
|||
| (Há 3 edições intermédias do mesmo utilizador que não estão a ser apresentadas) | |||
| Linha 1: | Linha 1: | ||
| − | {{#if:{{{imagem|}}}|{{#switch:{{{ | + | {{#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:{{{ | + | -->{{#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:{{{ | + | -->{{#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:{{{ | + | {{#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: -{{{ | + | <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:{{{ | + | </div>{{#switch:{{{local|{{{Align|}}}}}} |
| − | | center | centre = </div> | + | | center | centre = </div>}}}} |