Difference between revisions of "Template:Messagebox"

Line 1: Line 1:
 
<noinclude>
 
<noinclude>
= Message Box Template =
+
== Message Box Template ==
  
 
This template is used for typesetting messages that you want to be set apart from the surrounding text.
 
This template is used for typesetting messages that you want to be set apart from the surrounding text.

Revision as of 19:16, 19 March 2020

Message Box Template

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!

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

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

    This is informational.

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

    This is a warning!