Difference between revisions of "Template:MessageBox"
Jump to navigation
Jump to search
(→Example: The example is now spread across multiple lines for better formatting.) |
(Replaced the 'Misc' section with the {{MessageBox/doc series}} transclusion.) |
||
Line 33: | Line 33: | ||
}} | }} | ||
− | + | {{MessageBox/doc series}} | |
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 18:00, 15 October 2015
Add message |
Goal
To create a unified system for relax message box templates.
Usage
{{MessageBox|message|title=|border=|bgcolor=}}
- message
- The obligatory message box text.
- title
- The optional message box title, which will precede the message box text and be in bold format.
- border
- The CSS border style to use, defaulting to the relax thin blue border.
- bgcolor
- The CSS background-color style to use, defaulting to the relax website background colour.
Example
{{MessageBox | message = This is a test message | title = Warning | border = thin solid #f42 | bgcolor = #ffe0d0 }}
Warning This is a test message |
Template:MessageBox/doc series