Open main menu
relax wiki
Search
Changes
← Older edit
Template:MessageBox
48 bytes added
,
09:08, 22 October 2015
Switched to {{MessageBox/doc}} for the documentation.
{| cellspacing="0" style="border: {{{border|thin solid #88cbff}}}; border-left-width: 10px; background-color: {{{bgcolor|#e5feff}}}; width: auto; clear:both; padding: 5px 20px 5px 20px; margin:
0px
15px
auto
0px
15px
auto
; max-width: 80%
"| {{#if: {{{title|}}}| '''{{{title}}}'''
 
}} {{{message|Add message}}}
|}<noinclude>
{{MessageBox/doc
| goal
=
= Goal ==
To create a unified system for relax message box templates.
== Usage =
| usage
= <nowiki>{{</nowiki>'''MessageBox'''
|
|
message
|
|
''title=''
|
|
''border=''
|
|
''bgcolor=''<nowiki>}}</nowiki>
; message : The obligatory message box text.
; bgcolor : The CSS ''background-color'' style to use, defaulting to the relax website background colour.
| example
=
= Example ==
<
nowiki
pre
>{{MessageBox
| message = This is a test message
| title = Warning
| border = thin solid #f42
| bgcolor = #ffe0d0
}}</
nowiki
pre
>
{{MessageBox
}}
{{MessageBox/doc inform series
}}
[[Category:MessageBox templates]]
</noinclude>
Bugman
Trusted,
Bureaucrats
4,228
edits