Changes

Jump to navigation Jump to search

Template:MessageBox

16 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: 20px 15px auto 20px 15px auto; max-width: 80%"| {{#if: {{{title|}}}| '''{{{title}}}'''&ensp;}} {{{message|Add message}}}|}<noinclude>
{{MessageBox/doc| goal == Goal == To create a unified system for relax message box templates. == Usage =| usage =  <nowiki>{{</nowiki>'''MessageBox'''|&#124;message|&#124;''title=''|&#124;''border=''|&#124;''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 <nowikipre>{{MessageBox|{{{message}}}|title=warning}}</nowiki>This is a test message {{MessageBox|<nowiki>{{{message}}}</nowiki>|title =warningWarning|border =thin solid #f42|bgcolor=#ffe0d0}}</pre>
{{MessageBox| message =This is a test message| title = Misc. Warning| border =thin solid #f42| bgcolor =#ffe0d0}}
This idea was suggested by [http://wiki.flightgear.org/User_talk:Johan_G#Using_the_messagebox_templates_for_an_external_project Johan G. on the FlightGear wiki]}}
[[Category:MessageBox templates]]
</noinclude>
Trusted, Bureaucrats
4,228

edits

Navigation menu