- Shortcut
- msgbox
This template has been protected from editing because it is widely transcluded. Please discuss changes on the talk page.
|
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
|
Advanced usage
{{msgbox | bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and some custom CSS | discuss = 1 | css = box-shadow: 0px 0px 6px #888; }}
Will result in:
This is a blue message box Discuss It has a discuss link and some custom CSS
|
A custom image size can also be specified with "imagewidth", for example: imagewidth = 50px
Advanced mini usage
{{msgbox | mini = 1 | image = Bot.png | bgcol = #eef | linecol = #ddf | 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. }}
Will result in:
This is a mini message box, it is using similar settings as the box used in the advanced example above. |
This can also have a custom image size.