Difference between revisions of "Template:Messagebox"
Line 4: | Line 4: | ||
For example, the following markup: | For example, the following markup: | ||
− | <nowiki>{{messagebox|This is a message | + | <nowiki>{{messagebox|This is a message.}}</nowiki> |
will look like this: | will look like this: | ||
− | {{messagebox|This is a message | + | {{messagebox|This is a message.}} |
You can give a second parameter to change the type of the box: | You can give a second parameter to change the type of the box: |
Revision as of 19:17, 19 March 2020
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:
You can give a second parameter to change the type of the box:
{{messagebox|This is informational.|info}}
→
{{messagebox|This is a warning!|warning}}
→