Template:Ambox: Difference between revisions

From Bonkipedia
[[mw:]]>ExE Boss
(Use <onlyinclude> and add comment about categories)
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:49, 12 November 2022

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

[<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]

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

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