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

[edição não verificada][edição verificada]
Conteúdo apagado Conteúdo adicionado
He7d3r.bot (discussão | contribs)
fusão
m Bot: Sintaxe da tabela HTML para Wiki atualizada
Linha 1:
 
<table{| class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}
{{#switch:{{{type|}}}
| speedy = ombox-speedy || delete = ombox-speedydelete
| delete content = ombox-deletecontent
| contentstyle = ombox-style || move = ombox-contentmove
| style = ombox-style
| move = ombox-move
| protection = ombox-protection
| notice <!-- notice = default -->
|
| #default = ombox-notice
| style #default = ombox-stylenotice
}}" style="margin: 4px 10%; border-collapse: collapse; background: #f9f9f9; border: 1px solid #aaa; {{{style|}}}">
|-
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. 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-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> |
{{#if:{{{image|}}}
| {{#if:{{{image|}}}
| {{{image}}} || [[Image:{{#switch:{{{type|}}}
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png || delete content = Imbox deletioncontent.png
| content style = Imbox contentstyle.png
| stylemove = Imbox move.png || protection = Imbox styleprotection.png
| notice <!-- notice = default -->
| move = Imbox move.png
|
| protection = Imbox protection.png
| #default = ombox-Imbox notice.png
| notice <!-- notice = default -->
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
}}</td>
}}
}}
<td| class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> | {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none || <!-- No image. -->
|
| <!-- No image. -->
| <td class="mbox-imageright"> | {{{imageright}}} </td>
}}
}}
</table>|}<!-- Detect and report usage with faulty "type" parameter:
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->