Diferenças entre edições de "Predefinição:Chamada para artigo (pp)/dev"
Da Thinkfn
(2 edições intermédias não estão a ser mostradas.) | |||
Linha 9: | Linha 9: | ||
position:relative; | position:relative; | ||
width:{{ #if: {{{imagem|}}} | width:{{ #if: {{{imagem|}}} | ||
− | | {{{x| | + | | {{{x|140px}}}; |
− | | | + | | 140px; }} |
height:{{ #if: {{{imagem|}}} | height:{{ #if: {{{imagem|}}} | ||
− | | {{{y| | + | | {{{y|50px}}}; |
− | | | + | | 50px; }} |
padding:0; | padding:0; | ||
overflow:hidden"> | overflow:hidden"> | ||
Linha 40: | Linha 40: | ||
<div style="position:absolute; top:0; left:0; z-index:2">{{ | <div style="position:absolute; top:0; left:0; z-index:2">{{ | ||
#if: {{{imagem|}}} | #if: {{{imagem|}}} | ||
− | | {{ #ifexist: Imagem:{{{imagem}}} | + | | {{ #ifeq: {{{imagem|}}} | nenhuma |
− | + | | | |
− | + | | {{ #ifexist: Imagem:{{{imagem}}} | |
− | + | <!-- imagem interna da wiki --> | |
− | + | | [[Imagem:{{{imagem}}} {{!}} {{{x|120px}}}]] | |
+ | <!-- imagem externa --> | ||
+ | | {{{imagem}}} | ||
+ | }} | ||
+ | }} | ||
<!-- sem imagem, mas não "nenhuma", imagem por omissão --> | <!-- sem imagem, mas não "nenhuma", imagem por omissão --> | ||
− | | [[Imagem:Tf_logo.gif {{!}} | + | | [[Imagem:Tf_logo.gif {{!}} 140px]] }}</div> |
</div> | </div> | ||
}}{{ | }}{{ |
Edição atual desde as 15h53min de 24 de fevereiro de 2010
|