Jump to content
MediaWiki

Template:Ambox

From mediawiki.org
Template documentation
This template is used on approximately 30,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.

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.

type=speedy — Speedy deletion issues, such as {{Speedy }}.
type=delete — Deletion issues, such as {{Delete }}.
type=content — Content issues, such as {{Update }} and {{Expand }}.
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=content — Content issues, such as {{Update }} and {{Expand }}.
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:

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

Adjusts border and background for the appropriate use-case. Default <code>notice</code> is gray with a blue border.

Suggested values
notice style content delete speedy protection move
Default
notice
Auto value
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
The above documentation is transcluded from Template:Ambox/doc. (edit | history)
Editors can experiment in this template’s sandbox (edit | diff) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /