Template:Ambox/doc: Difference between revisions
More actions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{Mbox templates}} | |||
{{Lua|Module:Message box{{\sandbox}}}} | {{Lua|Module:Message box{{\sandbox}}}} | ||
Revision as of 01:01, 15 February 2025
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 |
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 |