Predefinição:Ombox/core: diferenças entre revisões

[edição não verificada][edição não verificada]
Conteúdo apagado Conteúdo adicionado
mSem resumo de edição
m Desfeita a edição 15770023 de Jurema Oliveira (discussão | contribs)
Linha 1:
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}
{{#switch:{{{tipotype|}}}
| eliminação_rápidaspeedy = ombox-eliminação_rápidaspeedy
| eliminaçãodelete = ombox-eliminaçãodelete
| conteúdocontent = ombox-conteúdocontent
| estilostyle = ombox-estilostyle
| movermove = ombox-movermove
| proteçãoprotection = ombox-proteçãoprotection
| notícianotice <!-- notícianotice = default -->
| #default = ombox-notícianotice
}}" style="margin: 4px 10%; border-collapse: collapse; background: #f9f9f9; border: 1px solid #aaa; {{{estilostyle|}}}">
<tr>
{{#ifeq:{{{imagemimage|}}}|none
| <!-- No imagemimage. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| <td class="mbox-imagemimage" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{imagemimage|}}}
| {{{imagemimage}}}
| [[ImagemImage:{{#switch:{{{tipotype|}}}
| eliminação_rápidaspeedy = Imbox speedy deletion.png
| eliminaçãodelete = Imbox deletion.png
| conteúdocontent = Imbox content.png
| estilostyle = Imbox style.png
| movermove = Imbox move.png
| proteçãoprotection = Imbox protection.png
| notícianotice <!-- notícianotice = default -->
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
}}</td>
}}
<td class="mbox-textotext" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{textotext}}} </td>
{{#if:{{{imagem_direitaimageright|}}}
| {{#ifeq:{{{imagem_direitaimageright|}}}|none
| <!-- No imagemimage. -->
| <td class="mbox-imagem_direitaimageright"> {{{imagem_direitaimageright}}} </td>
}}
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{tipotype|}}}
| <!-- No type fed, is also valid input -->
| speedy
| eliminação_rápida
| delete
| eliminação
| content
| conteúdo
| estilostyle
| movermove
| protection
| proteção
| notícianotice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "tipotype={{{tipotype|}}}" parameter and needs fixing.</div><a class="autolink" href="/wiki/Category:Wikipedia message box parameter needs fixing">[[Category:Wikipedia message box parameter needs fixing|<a class="autolink" href="/wiki/Template:main other">{{main other|Main:}}</a>{{FULLPAGENAME}}]]</a><!-- Sort on namespace -->
}}<noinclude>
 
{{documentaçãodocumentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>