Diferenças entre edições de "Predefinição:Recortar"
| 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 | ||
| Linha 20: | Linha 20: | ||
</div>}} | </div>}} | ||
</div> | </div> | ||
| − | </div>{{#switch:{{{ | + | </div>{{#switch:{{{local|{{{Align|}}}}}} |
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{largura|}}}{{{altura|}}}{{{y|}}}{{{x|}}}{{{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]]}}}} | ||