Predefinição:Image label begin: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(Criou página com '<div role="img" class="{{#switch:{{{float|}}}|left=floatleft|right=floatright}} noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) --> style="width: {{#if:{{{thumb|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|400}}+16}}|{{#if:{{{border2|}}}|{{#expr:{{#if:{{{width|}}}|{{{width}}}|400}}+2}}|{{#if:{{{width|}}}|{{{width}}}|400}}}}}}px; {{#switch:{{{float|}}}|center|centre=margin-left:auto; margin-right:auto;}}...') |
Sem resumo de edição Etiqueta: Revertido |
||
Linha 1: | Linha 1: | ||
<div role="img" class="{{#switch:{{{float|}}}|left=floatleft|right=floatright}} noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) --> | <div role="img" class="{{#switch:{{{float|}}}|left=floatleft|right=floatright}} | ||
noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) --> | |||
style="width: | |||
{{#if:{{{thumb|}}}| | |||
{{#expr:{{#if:{{{width|}}}| | |||
{{{width}}}|400}}+16}}| | |||
{{#if:{{{border2|}}}| | |||
{{#expr:{{#if:{{{width|}}}| | |||
{{{width}}}|400}}+2}}| | |||
{{#if:{{{width|}}}| | |||
{{{width}}}|400}}}}}}px; | |||
{{#switch:{{{float|}}}|center|centre=margin-left:auto; margin-right:auto;}} | |||
{{#if:{{{margin|}}}|margin: {{{margin}}};}} | {{#if:{{{margin|}}}|margin: {{{margin}}};}} | ||
{{#if:{{{padding|}}}|padding: {{{padding}}};}} | {{#if:{{{padding|}}}|padding: {{{padding}}};}} | ||
Linha 10: | Linha 20: | ||
position: relative; | position: relative; | ||
{{#if:{{{overflow-x|}}}|max-width: 100%; <!-- deals with large images on mobile overflowing --> | {{#if:{{{overflow-x|}}}|max-width: 100%; <!-- deals with large images on mobile overflowing --> | ||
overflow-x: {{{overflow-x|auto}}};}}"><!-- | overflow-x: {{{overflow-x|auto}}};}}"> | ||
<!-- --> | |||
{{#if:{{{fullimage|}}}| | |||
{{{fullimage}}}|[[File:{{{image|Bad Title Example.png}}} | |||
{{#if:{{{border2|}}}|{{!}}border}}{{#if:{{{thumb|}}}| | |||
{{!}}thumb{{!}}none}}| | |||
{{#if:{{{width|}}}| | |||
{{{width}}}|400}}px{{#ifeq:{{{link|File:}}}|File:|| | |||
{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]] | |||
}}</div> | }}</div> |
Edição das 19h31min de 2 de agosto de 2022
[[File:Bad Title Example.png |
400px|alt=|]]