Changes
Jump to navigation
Jump to search
← 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
Navigation menu
Personal tools
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Homepage
Installation guides
Community portal
Recent changes
Random page
Help
Tools
Upload file
Special pages
Printable version