Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcut

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

Usage

Gear (item)
This section is a work in progress. 
Please help in the expansion or creation of this template by expanding or improving it. The talk page may contain suggestions.
Note: Make a proper usage section, explaining parameter usage

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:

Criteria Class code Color displayed
Unclassified templates (default)
Warning for disclaimer/deletion of a page class = msgbox-red
Suggesting a page to be moved/split/merged class = msgbox-purple
Notice for maintenance/editing-related actions of a page class = msgbox-yellow
Information regarding the status of a page class = msgbox-green
Information regarding the content of a page class = msgbox-orange
Details about editions and/or versions class = msgbox-blue
Unused/Custom purposes class = msgbox-magenta

Examples

Code Result
Basic usage:
{{msgbox
| title = This is a normal message box
| text = With helpful and descriptive subtext
}}
This is a normal message box 
With helpful and descriptive subtext
Mini usage:
{{msgbox
| mini = 1
| icon = 8
| text = This is a mini message box with an information icon using [[Template:CommentSprite]]
}}
This is a mini message box with an information icon using Template:CommentSprite
Advanced usage:
{{msgbox
| bgcol = #eef
| linecol = #ddf
| title = This is a blue message box
| text = It has a discuss link, some custom CSS and a custom image
| discuss = 1
| image = Bot.png
| css = box-shadow: 10px 10px 2px #888;
}}
Bot
This is a blue message box [discuss]
It has a discuss link, some custom CSS and a custom image
Advanced mini usage:
{{msgbox
| mini = 1
| image = Bot.png
| bgcol = #ddc
| linecol = #dcb
| css = box-shadow: 0px 0px 6px #888;
| text = This is a mini message box, it is using similar settings as the box used in the advanced example above.
}}
Bot
This is a mini message box, it is using similar settings as the box used in the advanced example above.
Advertisement