Templat:Cmbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
Baris 1:
<table class="messagebox" style="{{{style|}}}">
{{#switch:{{{type|}}}
| speedy = cmbox-speedy
| delete = cmbox-delete
| content = cmbox-content
| style = cmbox-style
| move = cmbox-move
| protection = cmbox-protection
| notice <!-- notice = default -->
| #default = cmbox-notice
}}" style="{{{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: 1px;"></td>
| <td class="cmbox-image"><div style="width: 52px;">
{{#if:{{{image|}}}
| {{{image}}}
| #default = [[Berkas:Cmbox notice.png|40x40px]]
| {{#switch:{{{type|}}}
| speedy = [[Berkas:Cmbox deletion.png|40x40px]]
| delete = [[Berkas:Cmbox deletion.png|40x40px]]
| content = [[Berkas:Cmbox content.png|40x40px]]
| style = [[Berkas:Cmbox style.png|40x40px]]
| move = [[Berkas:Cmbox move.png|40x40px]]
| protection = [[Berkas:Cmbox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Berkas:Cmbox notice.png|40x40px]]
}}
}}</div></td>
}}
<td class="cmbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="cmbox-imageright"> {{{imageright}}} </td>
}}
</tr>