Template:Message box

(Redirected from Template:Msgbox)
[view | edit | history | purge]Documentation
Shortcut
msgbox

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

Basic usage

{{msgbox
| title = This is a normal message box
| text = With helpful and descriptive subtext
}}

Will result in:

This is a normal message box
With helpful and descriptive subtext


An icon can be added to indicate the type of the message:

{{msgbox
| icon = info-sign
| text = This is a message box with an information icon
}}

Will result in:

This is a message box with an information icon

The Font Awesome Icons are used here (without the icon- prefix).

Advanced usage

{{msgbox
| bgcol = #eef
| linecol = #ddf
| textcol = #336
| icon = flag
| title = This is a purple message box
| text = It is customized with some extra CSS
| css = box-shadow: 0px 0px 6px #888;
}}

Will result in:

This is a purple message box
It is customized with some extra CSS

Category

This template automatically adds templates that use it to Category:Notice templates. To prevent that, simply set the parameter {{{nocat}}}

[view | edit | history | purge]The above documentation is transcluded from Template:Message box/doc.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis
Looking for a server?

Join Techworld - an amazing custom modpack server.