Template:Message box

From SDA Knowledge Base

Jump to: navigation, search
{{{1}}}

Uniform message box for building message templates for wiki pages. The first parameter is the contents of the message. The template defaults to white border, white text, black background and centered text.

Usage

{{message box|message|align=|color=|border=|background=}}

If not setting an attribute explicitly, don't include the parameter at all, e.g. {{message box|message|color=#00E}} if you just want to change the text and border colors.

  • align: left, right, center, justify — aligns the text within the message box. Defaults to center.
  • color: #hexidecimal color code — sets the color of the text and border. Defaults to #FFF (white).
  • border: #hexidecimal color code, none — sets the color of the border or removes the border. Use this when you want a different color than the text or no border. Defaults first to color parameter, then to #FFF (white).
  • background: #hexidecimal color code — sets background color. Defaults to #000 (black).
Personal tools