Template:Message box/doc

This template is used to add consistent styling to message boxes.

Usage


Parameters
{	"params": { "mini": { "label": "Mini mode", "description": "Changes the message box size to one that is more suited to an article section.", "type": "boolean" },		"small": { "label": "Mini mode", "description": "Changes the message box size to one that is more suited to an article section.", "type": "boolean" },		"class": { "label": "Class", "description": "Adds a class to the template.", "type": "string", "suggested": true },		"bgcol": { "label": "Background color", "description": "Changes the background color.", "type": "boolean" },		"linecol": { "label": "Line color", "description": "Changes the line color.", "type": "boolean" },		"width": { "label": "Width", "description": "Changes the template width.", "type": "boolean" },		"float": { "label": "Alignment", "description": "Changes the template position.", "type": "boolean" },		"icon": { "label": "Template icon", "description": "Adds a icon from Template:CommentSprite. Not compatible with nor its variants.", "type": "boolean" },		"imagecss": { "label": "?", "description": "?.", "type": "boolean" },		"image": { "label": "Template image", "description": "Adds a image to the template.", "type": "boolean" },		"imagetextbefore": { "label": "?", "description": "?.", "type": "boolean" },		"imagetextafter": { "label": "?", "description": "?.", "type": "boolean" },		"imagesize": { "label": "Image size", "description": "Changes the image size if there is one.", "type": "boolean" },		"title": { "label": "Title text", "description": "Adds a title to the template.", "type": "string", "suggested": true },		"discuss": { "label": "Button enabler", "description": "Adds a button called [Discuss] that links to the talk page of the page where the message box is used.", "type": "boolean" },		"discussPage": { "label": "Talk page changer", "description": "Changes the [Discuss] button to link to a custom talk page.", "type": "boolean" },		"discussAnchor": { "label": "Talk page section specifier", "description": "Makes the [Discuss] button to link to a specific section of the talk page.", "type": "boolean" },		"linkshere": { "label": "Button enabler", "description": "Adds a button called [Links] which shows what pages use/link to the message box on Special:WhatLinksHere/.", "type": "boolean" },		"text": { "label": "Text", "description": "Adds text to the template.", "type": "string", "suggested": true },		"css": { "label": "Css customizer", "description": "Changes the css style of the template to a custom one.", "type": "boolean" }	},	"description": "Message boxes are used to create most templates present on the wiki. The following table shows a description of the parameter usage of this template.", "format": "block" }

Color criteria
When a template uses Message boxes to make its contents, it must follow a certain color criteria if it belongs to any of the following criteria:

Examples
de:Vorlage:Hinweis es:Plantilla:Message box fr:Modèle:Msgbox ja:テンプレート:Message box ko:틀:Message box pt:Predefinição:Message box ru:Шаблон:Msgbox zh:Template:Message box

de:Vorlage:Hinweis/Dokumentation es:Plantilla:Message box/doc fr:Modèle:Msgbox/doc ja:テンプレート:Message box/doc ko:틀:Message box/doc pt:Predefinição:Message box/doc ru:Шаблон:Msgbox/док zh:Template:Message box/doc