Template:Ambox/doc: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Parameters: Document `small=left`
Line 1: Line 1:
<includeonly>
<includeonly>
{{Languages|Template:Ambox}}
{{Languages|Template:Ambox}}
</includeonly>{{lua|Module:Message box}}
</includeonly>
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:Message box}}
{{Uses TemplateStyles|Module:Message box/ambox.css}}
{{Uses TemplateStyles|Module:Message box/ambox.css}}
{{Documentation subpage}}
{{High-use|8000}}
{{high-use|8000}}
{{Mbox templates}}
 
This is the {{Tl|Ambox}} or '''Article message box''' meta-template. This template also depends on [[MediaWiki:Gadget-enwp-boxes.css]].
This is the {{Tl|Ambox}} or '''Article message box''' meta-template. This template also depends on [[MediaWiki:Gadget-enwp-boxes.css]].


Line 126: Line 130:
</templatedata>
</templatedata>
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Mbox templates{{#translation:}}]]
[[Category:Mbox templates{{#translation:}}]]
}}</includeonly>
}}</includeonly>

Revision as of 03:41, 19 July 2021

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

Lua error: callParserFunction: function "#translation" was not found.

This is the {{Ambox}} or Article message box meta-template. This template also depends on MediaWiki:Gadget-enwp-boxes.css.

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 a generic article message box.

Template parameters

ParameterDescriptionTypeStatus
typetype

no description

Suggested values
speedy delete content style notice move protection
Lineoptional
texttext

no description

Stringsuggested