Mastergalen (talk | contribs) m (1 revision) |
(No difference)
|
This is a documentation subpage for Template:Msgbox. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
{{msgbox | title = This is a normal message box | text = With helpful and descriptive subtext }}
Will result in:
To change a message boxes's connotation use the type
parameter.
| type = warning
{{msgbox | type = warning | title = This is a warning message box | text = With helpful and descriptive subtext }}
Will result in:
| type = error
{{msgbox | type = error | title = This is an error message box | text = With helpful and descriptive subtext }}
Will result in:
| type = success
{{msgbox | type = success | title = This is a green message box | text = With helpful and descriptive subtext }}
Will result in:
Leaving out the type
parameter will give you the default information alert.
{{msgbox | title = This is a normal message box | text = With helpful and descriptive subtext }}
Will result in:
{{msgbox | mini = 1 | icon = icon-upload | text = This is a mini message box with an information icon using [[Help:Icons|Icons]] }}
Will result in:
{{msgbox | type = success | title = This is a green message box | text = It has a discuss link and some custom CSS. | discuss = 1 | css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888; }}
Will result in:
{{msgbox | type = success | title = This is a green message box | text = It has a discuss link, some custom CSS and a custom image | discuss = 1 | css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888; }}
Will result in:
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.