Template:Ambox
This is the {{Ambox}} or Article message box meta-template.
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=content – Content issues. |
type=style – Style issues, such as {{cleanup}}. |
type=notice – Article notices, such as {{in use}}. |
type=protection – Protection notices, such as {{pp-vandalism}} and {{pp-protected}}. |
If no type parameter is given the template defaults to |type=notice
.
See also
This article may need to be rewritten entirely, as mbox templates. |
Other pages:
- Template:Mbox
- Wikipedia:Wikipedia:Ambox CSS classes – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- Wikipedia:Wikipedia:Article message boxes – The style guideline for creating article message boxes.
- Wikipedia:Wikipedia talk:Article message boxes – For discussion about these matters.
The above documentation is transcluded from Template:Ambox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
A message box meant for article pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | name | Specifies the name of the template
| Unknown | optional |
Small? (no/left/right) | small | Specifies whether to use the small format or not
| Unknown | suggested |
Type of issue | type | Specifies the default color and icon of this message box. Possible values are "speedy", "delete", "content", "style", "notice", "move", and "protection".
| Unknown | suggested |
Image | image | Specifies an image to use instead of the default | Unknown | optional |
Image (small) | smallimage | Use this when the "Small?" parameter is "left" | Unknown | optional |
Image (right) | imageright | no description | Unknown | optional |
Image (small + right) | smallimageright | no description | Unknown | optional |
Text | text | Specifies custom text to use instead of the "Issue" and "Fix" parameters. | Unknown | suggested |
Text (small) | smalltext | no description | Unknown | optional |
Custom CSS classes | class | no description | Unknown | optional |
CSS custom style | style | no description | Unknown | optional |
CSS custom text style | textstyle | no description | Unknown | optional |
Plain links? (yes/no) | plainlinks | By default, in message boxes, external links have their arrow icon disabled by default. If this is set to "no", arrows will appear next to external links. | Unknown | optional |
"This section..." | sect | no description | Unknown | optional |
Issue | issue | This parameter is used to describe the issue with the article. | Unknown | optional |
Fix | fix | Specifies some text which describes what should be done to improve the article. | Unknown | optional |
Talk page link | talk | no description | Unknown | optional |
Date | date | no description | Unknown | optional |
Misc. Info | info | no description | Unknown | optional |
Removal notice? (yes/no) | removalnotice | If "yes", a notice will be displayed after the date and the info text | Unknown | optional |
Monthly cleanup category 1 | cat | Defines a monthly cleanup category. | Unknown | optional |
Monthly cleanup category 2 | cat2 | no description | Unknown | optional |
Monthly cleanup category 3 | cat3 | no description | Unknown | optional |
Category for All 1 | all | Defines a category into which all articles should be placed. | Unknown | optional |
Category for All 2 | all2 | no description | Unknown | optional |
Category for All 3 | all3 | no description | Unknown | optional |
Subst | subst | Allows the meta-template to detect whether the template has been incorrectly substituted, and give an appropriate warning.
| Unknown | optional |