Templat:Tmbox
Ini adalah templat meta {{Tmbox}} ([T] alk page [m] essage [box]). Templat ini seharusnya hanya digunakan di halaman pembicaraan.
PenggunaanSunting
Penggunaan sederhanaSunting
{{tmbox | text = Some text.}}
| Some text. |
- Contoh kompleks
{{tmbox
| type = style
| image = [[File:Emblem-question-yellow.svg|40px|link=|alt=]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
| Berkas:Emblem-question-yellow.svg | The message body text. |
Kotak pesan pembicaraanSunting
| Berkas:Ambox warning pn.svg | type=speedy – Speedy deletion templates. |
| Berkas:Ambox warning pn.svg | type=delete – Deletion templates. |
| type=content – Major warnings and problems. |
| Berkas:Edit-clear.svg | type=style – Minor warnings and problems. |
| type=notice – Notices and messages of any kind, both permanent and temporary. |
| Berkas:Merge-split-transwiki default.svg | type=move – Merge, split, rename and transwiki messages and proposals. |
| type=protection – Protection templates. |
Penggunaan KhususSunting
| No type and no image given (default) |
| No type and image=none – No image is used and the text uses the whole message box area. |
| Berkas:Gnome globe current event.svg | image = [[File:Gnome globe current event.svg|42px]] imageright = [[File:Nuvola apps bookcase.svg|40px]] | Berkas:Nuvola apps bookcase.svg |
Parameter lengkapSunting
{{tmbox
| name = name of the template
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text = The message body text.
| small = {{{small|}}} / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
| Dokumentasi di atas ditransklusikan dari Templat:Tmbox/doc. (sunting | versi terdahulu) Penyunting dapat melakukan uji coba pada halaman bak pasir (buat | cermin) dan kasus uji (buat) templat ini. Mohon tambahkan kategori pada subhalaman /doc. Subhalaman templat ini. |