![]() |
![]() | Templat ini digunakan pada 1.430.000+ halaman, atau sekira 37% dari keseluruhan halaman halaman. Untuk mencegah suntingan mengganggu skala besar dan beban peladen, setiap perubahan perlu diuji di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Perubahan yang diuji dapat ditambahkan ke halaman ini dalam satu suntingan. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. Preview message: Transclusion count updated automatically (see documentation). |
![]() | Templat ini menggunakan Lua: |
Templat-templat kotak pesan | |
---|---|
templat | context |
{{Ambox}} | artikel |
{{Cmbox}} | kategori |
{{Imbox}} | gambar |
{{Tmbox}} | pembicaraan |
{{Fmbox}} | footer / header |
{{Ombox}} | halaman lain |
{{Mbox}} | auto-detect |
{{Asbox}} | stub artikel |
{{Dmbox}} | disambiguasi |
This is the {{Ambox}} ([A]rticle [m]essage [box]) metatemplate.
It is used to build article message box templates such as {{Underlinked}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.
The "All parameters" box shows all possible parameters for this template. However, it is not recommended to copy this, because it will never be required to use all parameters simultaneously.
All parameters |
---|
{{Ambox | name = | subst = <includeonly>{{subst:substcheck}}</includeonly> | small = {{{small|}}} | type = | image = | imageright = | smallimage = | smallimageright = | class = | style = | textstyle = | sect = {{{1|}}} | issue = | talk = {{{talk|}}} | fix = | date = {{{date|}}} | text = | smalltext = | plainlinks = no | removalnotice = | cat = | all = | cat2 = | all2 = | cat3 = | all3 = }}<noinclude> {{Documentation}} </noinclude> |
An image on the right side of the message box may be specified using this parameter. The syntax is the same as for the image parameter, except that the default is no image.
Images for the small format box may be specified using these parameters. They will have no effect unless |small=left
is specified.
A custom CSS class to apply to the box.
Optional CSS values may be defined, without quotation marks " "
but with the ending semicolons ;
.
Instead of specifying the issue and the fix it is possible to use the text parameter instead.
Customised text for the small format can be defined using smalltext.
Normally on Wikipedia, external links have an arrow icon next to them, like this: Example.com. However, in message boxes, the arrow icon is suppressed by default, like this: Example.com. To get the normal style of external link with the arrow icon, use |plainlinks=no
.
{{Ambox | text = <div> Equal sign = and a start and end brace { } work fine as they are. But here is a pipe | and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces <nowiki>|}}</nowiki>. </div> }}
![]() | Equal sign = and a start and end brace { } work fine as they are. But here is a pipe | and two end braces }}. And now a pipe and end braces |}}. |
<div>
tags that surround the text in the example above are usually not needed. But if the text contains line breaks then sometimes we get weird line spacing. This especially happens when using vertical dotted lists. Then use the div tags to fix that.Templat:Templat Mbox lihat juga Halaman lain:
© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search