Template:Ambox
This template is used on approximately 8,000 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Uses Lua: |
This is the {{Ambox }} or Article message box meta-template.
MobileFrontend will treat this template as a page issue. If you don't want that MobileFrontend does so, you may use a different message box template. See also this page.
Parameters
type
The type
parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
type=speedy ā Speedy deletion issues, such as {{Speedy }}. |
type=delete ā Deletion issues, such as {{Delete }}. |
type=style ā Style issues, such as {{Cleanup }} and {{Documentation needed }}. |
type=notice ā Notices, such as {{Extension exception }} and {{Translating }}. |
type=move ā Merge, split and transwiki proposals, such as {{Merge }} and {{Move to Commons }}. |
type=protection ā Protection notices, such as {{Pp-cascading }} and {{Protectedinterface }}. |
If no type
parameter is given the template defaults to |type=notice
.
small=left
type=speedy ā Speedy deletion issues, such as {{Speedy }}. |
type=delete ā Deletion issues, such as {{Delete }}. |
type=style ā Style issues, such as {{Cleanup }} and {{Documentation needed }}. |
type=notice ā Notices, such as {{Extension exception }} and {{Translating }}. |
type=move ā Merge, split and transwiki proposals, such as {{Merge }} and {{Move to Commons }}. |
type=protection ā Protection notices, such as {{Pp-cascading }} and {{Protectedinterface }}. |
See also
Other pages:
- w:Template:Mbox
- w:Wikipedia:Ambox CSS classes ā Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- w:Wikipedia:Article message boxes ā The style guideline for creating article message boxes.
- w:Wikipedia talk:Article message boxes ā For discussion about these matters.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Ambox
This is the specialized version of the {{mbox}} or āmulti namespace message boxā meta-template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | no description
| String | suggested |
Image (left) | image | no description
| Content | suggested |
Image (right) | imageright | no description | Content | optional |
CSS Style | style | no description | String | optional |
Text CSS Style | textstyle | no description | String | optional |
Text | text | no description | Content | suggested |
Small? | small | no description
| Boolean | optional |
Small Image (left) | smallimage | no description
| Content | optional |
Small Image (right) | smallimageright | no description
| Content | optional |
Small Text | smalltext | no description
| Content | optional |