Jump to content

Template:Ambox

Permanently protected template
From mediawiki.org
Template documentation

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.

If no type parameter is given the template defaults to |type=notice.

small=left

See also

Other pages:

TemplateData

[view · talk · edit]

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

no description

Suggested values
speedy delete content style notice move protection
Default
notice
Stringsuggested
Image (left)image

no description

Suggested values
none
Default
Depends on the “type” parameter.
Contentsuggested
Image (right)imageright

no description

Contentoptional
CSS Stylestyle

no description

Stringoptional
Text CSS Styletextstyle

no description

Stringoptional
Texttext

no description

Contentsuggested
Small?small

no description

Suggested values
{{{small|}}} left yes 1
Default
0
Booleanoptional
Small Image (left)smallimage

no description

Suggested values
none
Default
{{{image}}}
Contentoptional
Small Image (right)smallimageright

no description

Suggested values
none
Default
{{{imageright}}}
Contentoptional
Small Textsmalltext

no description

Default
{{{text}}}
Contentoptional
  翻译: