Template:Ambox/doc: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
No edit summary
TemplateData
Line 54: Line 54:
* [[w:Wikipedia:Article message boxes]] — The style guideline for creating article message boxes.
* [[w:Wikipedia:Article message boxes]] — The style guideline for creating article message boxes.
* [[w:Wikipedia talk:Article message boxes]] — For discussion about these matters.
* [[w:Wikipedia talk:Article message boxes]] — For discussion about these matters.
<templatedata>
{
"params": {
"type": {
"type": "line",
"suggestedvalues": [
"speedy",
"delete",
"content",
"style",
"notice",
"move",
"protection"
]
},
"text": {
"type": "string",
"suggested": true
}
},
"description": "This is a generic article message box."
}
</templatedata>
<includeonly>
<includeonly>
[[Category:Mbox templates{{#translation:}}]]
[[Category:Mbox templates{{#translation:}}]]
</includeonly>
</includeonly>

Revision as of 00:56, 6 June 2021

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

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

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

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.

See also

Other pages:

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