Template:Ambox/doc: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
direct dependencies, remove now-incorrect statement
removing {{high use}}
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{Mbox templates}}
{{Mbox templates}}
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:Message box{{\sandbox}}}}
{{Lua|Module:Message box{{\sandbox}}}}
{{High-use|8000}}


This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
This is the {{Tl|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 [[Reading/Web/Projects/Mobile Page Issues|this page]].


== Parameters ==
== Parameters ==

Latest revision as of 09:50, 13 January 2025

[[Category:Template documentation pages{{#translation:}}]]

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ambox in articles based on its TemplateData.

TemplateData for 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