Templat:Imbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
perbarui +uji coba modul lua
 
(7 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1:
{{#invoke:Message box|imbox}}<noinclude>
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #fbfbfb;
{{documentation}}
{{#switch:{{{type|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| speedy = border: 3px solid #b22222; background: #fee;
| delete = border: 3px solid #b22222;
| content = border: 3px solid #f28500;
| style = border: 3px solid #f4c430;
| move = border: 3px solid #9932cc;
| protection = border: 3px solid #bba;
| license = border: 3px solid #88a; background: #f7f8ff;
| featured = border: 3px solid #cba135;
| notice <!-- notice = default -->
| #default = border: 3px solid #1e90ff;
}} {{{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 style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Berkas:Imbox speedy deletion.png|40x40px]]
| delete = [[Berkas:Imbox deletion.png|40x40px]]
| content = [[Berkas:Imbox content.png|40x40px]]
| style = [[Berkas:Imbox style.png|40x40px]]
| move = [[Berkas:Imbox move.png|40x40px]]
| protection = [[Berkas:Imbox protection.png|40x40px]]
| license = [[Berkas:Imbox license.png|40x40px]]
| featured = [[Berkas:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Berkas:Imbox notice.png|40x40px]]
}}
}}</td>
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
</tr>
</table><noinclude>
[[Kategori:Templat lisensi gambar|{{PAGENAME}}]]
[[en:Template:Imbox]]
</noinclude>