Templat:Cmbox: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
Migrasi templat ke modul menggunakan bahasa pemrograman Lua.
Tag: Penggantian
 
(12 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1: Baris 1:
{{#invoke:Message box|cmbox}}<noinclude>
<table class="messagebox
{{documentation}}
{{#switch:{{{type|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| 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}}}
| {{#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>
</table><noinclude>
Lihat en.wiki untuk dokumentasi
[[Kategori:Templat Wikipedia]]
[[Kategori:Templat meta Wikipedia]]
[[en:Template:Cmbox]]
</noinclude>
</noinclude>

Revisi terkini sejak 2 April 2018 16.57