{{{text}}} |
Burada Cmbox örnek kullanımını belirtmiştir.
type=speedy – Hızlı Silme Şablonları. |
type=delete – Silme şablonları . |
type=content – Major warnings and problems, such as {{CategorisationDisputedPeople}} . |
type=style – Minor warnings and problems, such as {{popcat}} . |
type=notice – Notices and messages of any kind, both permanent and temporary. |
type=move – Kategori bölme birleştirme gibi {{categoryredirect}} . |
type=protection – Koruma notları. |
Bunlar diğer Cmbox kullanımıdır.
type = style image = ] Bu kategori {{verylarge}} ve{{CatDiffuse}} . |
type = move image = ] Bu resim {{categoryredirect}} kategorisine yönlendirilmiştir gibi. |
Some other parameter combinations.
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. |
image = ] imageright = ] |
This category lists articles about current and recent spaceflights.
It is populated by the {{current spaceflight}} template. |
List of all parameters:
{{cmbox | type = speedy / delete / content / style / notice / move / protection | image = none / ] | imageright = ] | style = CSS values | textstyle = CSS values | text = The message body text. }}
type
image
image = ]
imageright
imageright = ]
style
" "
. For example:
style = margin-bottom: 0.5em;
textstyle
textstyle = text-align: center;
text
If you need to use special characters in the text parameter then you need to escape them like this:
{{cmbox | 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 |}}. |
This template uses the cmbox CSS classes in MediaWiki:Common.css for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
For more technical details see the talk page. Since this template works almost exactly like the other mboxes their talk pages and related pages might also contain more details, see the "See also" section below.