Mastergalen (talk | contribs) (Fix class) |
Mastergalen (talk | contribs) m (1 revision) |
(No difference)
|
This template is used to add consistent styling to message boxes.
{{msgbox | title = This is a normal message box | text = With helpful and descriptive subtext }}
Will result in:
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:
The Font Awesome Icons are used here (without the icon-
prefix).
{{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 template automatically adds templates that use it to Category:Notice templates. To prevent that, simply set the parameter {{{nocat}}}
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.