Template:Mbox

From Kokua Wiki
Jump to: navigation, search

Template for displaying a message box (centered box containing some text contents). This is used to display notices and other messages about the article that people should be made aware of.

Usage: {{mbox|contents=Your Message}}

Result:
Your Message

Optional Parameters:

  • width - the width of the box. E.g. "500px" or "75%". Default: "350px".
  • boxcolor - the box's background color. E.g. "#f00b43" or "white". Default: "#eee" (very light gray).
  • textcolor - the text color. Default: "#000" (black).

Advanced Usage: {{mbox|contents=Your Message|width=80%|boxcolor=#fdd|textcolor=#007}}

Result:
Your Message