Predefinição:Scalable image e Predefinição:Scalable image/Testes: diferenças entre as páginas
(Diferenças entre páginas)
Criou a página com "{{#if:{{{1|}}}|<templatestyles src="Scalable image/styles.css"/> {{#switch:{{{5|{{{align|}}}}}}|left |right=|#default=<div class="center">}}{{yesno|{{{frame|{{{border|yes}}}}}}|yes=<div class="thumb {{#switch:{{{5|{{{align|}}}}}} |left= tleft |right=tright |#default= tnone}}"> <div class="thumbinner" style="{{#if:{{{4|}}}|width:{{{4}}};}}max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 2}}px">}}<div class="scalable{{yesno|{{{frame|{{{b..." |
Criou a página com "{{#if:{{{1|}}}|<templatestyles src="Scalable image/Testes/styles.css"/> {{#switch:{{{5}}} |left|right|none= |#default=<div class="center"> }}<div class="{{#ifeq:{{{border|}}}|no||thumb }}{{#ifeq:{{{border|}}}|no|{{#switch:{{{5}}} |left= floatleft |right= floatright |#default=floatnone }}|{{#switch:{{{5}}} |left= tleft |right= tright |#default=tnone}}}}"> {{#ifeq:{{{border|}}}|no||<div class="thumbinner" style="width:fit-content;width:-moz-fit-content;width:-webkit-..." |
||
| Linha 1: | Linha 1: | ||
{{#if:{{{1|}}}|<templatestyles src="Scalable image/styles.css"/> | {{#if:{{{1|}}}|<templatestyles src="Scalable image/Testes/styles.css"/> | ||
{{#switch:{{{5 | {{#switch:{{{5}}} | ||
|right=|#default=<div class="center">}} | |left|right|none= | ||
| | |#default=<div class="center"> | ||
| | }}<div class="{{#ifeq:{{{border|}}}|no||thumb }}{{#ifeq:{{{border|}}}|no|{{#switch:{{{5}}} | ||
|# | |||
|left= floatleft | |left= floatleft | ||
|right= floatright | |right= floatright | ||
|#default= floatnone | |#default=floatnone | ||
}}}}">[[File:{{{1}}}|{{{2}}}|{{#switch:{{{3 | }}|{{#switch:{{{5}}} | ||
|left= tleft | |||
|right= tright | |||
|#default=tnone}}}}"> | |||
{{#ifeq:{{{border|}}}|no||<div class="thumbinner" style="width:fit-content;width:-moz-fit-content;width:-webkit-fit-content;">}}<div class="scalable{{#ifeq:{{{border|}}}|no|| thumbimage}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}} | |||
|thumb | |thumb | ||
|thumbnail | |thumbnail | ||
|frame | |frame | ||
|border={{{1}}} | |||
|border= | |#default={{#ifeq:{{{tooltip|}}}|no||{{{3|}}}}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}>{{#ifeq:{{{border|}}}|no||<div class="magnify">[[:File:{{{1}}}| ]]</div>}}{{{3}}}</div>|}} | ||
|#default={{ | {{#ifeq:{{{border|}}}|no||</div>}}</div>{{#switch:{{{5}}} | ||
|right=|#default=</div>}}}}<noinclude> | |left|right|none= | ||
|#default=</div> | |||
}}}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- If you copy this template, you need to add the overflowx and overflowy CSS classes to your global CSS for Internet Explorer users. On the English Wikipedia, these are conditionally loaded by [[MediaWiki:Common.js]] --> | |||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||