Difference between revisions of "Template:MessageBox"
Jump to navigation
Jump to search
(Created an initial meta-template for use in all of the relax message box templates.) |
(Improved and corrected the example.) |
||
Line 19: | Line 19: | ||
== Example == | == Example == | ||
− | <nowiki>{{MessageBox| | + | <nowiki>{{MessageBox|message=This is a test message|title=Warning|border=thin solid #f42|bgcolor=#ffe0d0}}</nowiki> |
− | {{MessageBox| | + | {{MessageBox|message=This is a test message|title=Warning|border=thin solid #f42|bgcolor=#ffe0d0}} |
== Misc. == | == Misc. == |
Revision as of 17:23, 15 October 2015
Add message |
Goal
To create a unified system for relax message box templates.
Usage
{{MessageBox|message|title=|border=|bgcolor=}}
- message
- The obligatory message box text.
- title
- The optional message box title, which will precede the message box text and be in bold format.
- border
- The CSS border style to use, defaulting to the relax thin blue border.
- bgcolor
- The CSS background-color style to use, defaulting to the relax website background colour.
Example
{{MessageBox|message=This is a test message|title=Warning|border=thin solid #f42|bgcolor=#ffe0d0}}
Warning This is a test message |
Misc.
This idea was suggested by Johan G. on the FlightGear wiki