Template:Message box

From Modded Wiki
Revision as of 17:50, 12 February 2011 by minecraft>Gnu32 (You know what, let's set standard widths and allow custom CSS)
Jump to navigation Jump to search


Usage

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

Mini usage

{{msgbox
| type = mini
| title = This is a mini message box
}}

Will result in:

This is a mini message box

Advanced usage

{{msgbox
| type = normal
| bgcol = #eef
| linecol = #ddf
| title = This is a blue message box
| text = It has a discuss link and custom CSS
| discuss = true
| css = width: 320px; font-size: x-large;
}}

Will result in:

This is a blue message box Discuss
It has a discuss link and custom width