Open main menu

Template:MessageBox

Revision as of 17:26, 15 October 2015 by Bugman (talk | contribs) (→‎Example: The example is now spread across multiple lines for better formatting.)
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