Template:Ambox/doc: Difference between revisions

From Project: Redcap
MediaWiki>EPIC
m (Undid edits by 2806:2F0:4020:AA93:51EE:37B0:A564:F727 (talk) to last version by Fehufanga)
m (1 revision imported)
 
(No difference)

Latest revision as of 08:57, 10 November 2024

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

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.

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

[[Category:TemplateData documentation{{#translation:}}]]

<templatedata> { "description": {

"en": "This is the specialized version of the

or “multi namespace message box” meta-template.", "cs": "Toto je specializovaná verze metašablony

nebo “multi namespace message box“."

}, "format": "block", "params": { "type": { "label": { "en": "Type", "cs": "Typ" }, "suggestedvalues": [ "speedy", "delete", "content", "style", "notice", "move", "protection" ], "type": "string", "default": "notice", "suggested": true }, "image": { "label": { "en": "Image (left)", "cs": "Obrázek (vlevo)" }, "suggestedvalues": [ "none" ], "default": { "en": "Depends on the “type” parameter.", "cs": "Závisí na parametru “type“." }, "suggested": true, "type": "content" }, "imageright": { "label": { "en": "Image (right)", "cs": "Obrázek (vpravo)" }, "type": "content" }, "style": { "label": { "en": "CSS Style", "cs": "Styl CSS" }, "type": "string" }, "textstyle": { "label": { "en": "Text CSS Style", "cs": "Textový styl CSS" }, "type": "string" }, "text": { "label": { "en": "Text", "cs": "Text" }, "suggested": true, "type": "content" }, "small": { "label": { "en": "Small?", "cs": "Malý?" }, "suggestedvalues": [ "", "left", "yes", "1" ], "default": "0", "type": "boolean" }, "smallimage": { "label": { "en": "Small Image (left)", "cs": "Malý obrázek (vlevo)" }, "suggestedvalues": [ "none" ], "default": "{{{image}}}", "type": "content" }, "smallimageright": { "label": { "en": "Small Image (right)", "cs": "Malý obrázek (vpravo)" }, "suggestedvalues": [ "none" ], "default": "{{{imageright}}}", "type": "content" }, "smalltext": { "label": { "en": "Small Text", "cs": "Malý text" }, "default": "{{{text}}}", "type": "content" } } } </templatedata>