Template:Messagebox

Revision as of 21:06, 16 May 2023 by Phil (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used for typesetting messages that you want to be set apart from the surrounding text.

For example, the following markup:

{{messagebox|This is a message.}}

will look like this:

This is a message.

If you use two parameters, the first one will be the title of the box:

{{messagebox|Title|This is a message with a title.}}
Title

This is a message with a title.

You can give a "type" parameter to change the type of the box:

  • {{messagebox|This is informational.|type=info}}

    This is informational.

  • {{messagebox|This is a warning!|type=warning}}

    This is a warning!

  • {{messagebox|This tells you to stop here!|type=stop}}

    This tells you to stop here!