Template:Ambox/doc
More actions
Message box meta-templates | |
---|---|
template | context |
{{Ambox}} | article |
{{Cmbox}} | category |
{{Imbox}} | image |
{{Tmbox}} | talk |
{{Fmbox}} | footer / header |
{{Ombox}} | other pages |
{{Mbox}} | auto-detect |
{{Asbox}} | article stub |
{{Dmbox}} | disambiguation |
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 to occur, you may use a different message box template (listed here, but basically any template that does not identify itself as an "ambox" is not an issue). See Reading/Web/Projects/Mobile Page Issues.
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.
If no type
parameter is given the template defaults to |type=notice
.
small=left
File:Merge-split-transwiki default.svg |
See also
Message box meta-templates | |
---|---|
template | context |
{{Ambox}} | article |
{{Cmbox}} | category |
{{Imbox}} | image |
{{Tmbox}} | talk |
{{Fmbox}} | footer / header |
{{Ombox}} | other pages |
{{Mbox}} | auto-detect |
{{Asbox}} | article stub |
{{Dmbox}} | disambiguation |
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
TemplateData for 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 |