User:Johan G/Messagebox/style
< User:Johan G | Messagebox
		
		
		
		Jump to navigation
		Jump to search
		
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used by User:Johan G/Messagebox and its sub templates. It can show different strings depending on the input value.
Usage
{{messagebox/style
| style     = 
| speedy    = 
| warning   = 
| caution   = 
| notice    = 
| tip       = 
| protected = 
| neutral   = 
| empty     = 
| invalid   = 
}}
All parameters are optional. They all default to an empty string.
- style
 - Box style. Valid values are speedy, warning, caution, notice, tip, protected and neutral.
 
- speedy
 - String to use if box style is speedy.
 
- warning
 - String to use if box style is warning.
 
- caution
 - String to use if box style is caution.
 
- notice
 - String to use if box style is notice.
 
- tip
 - String to use if box style is tip.
 
- protected
 - String to use if box style is protected.
 
- neutral
 - String to use if box style is neutral.
 
- empty
 - String to use if format is empty or undefined.
 
- invalid
 - String to use if format is not empty and is neither of top, box or section.
 
Examples
{{messagebox/style
| style     = {{{style|}}}
| speedy    = 
| warning   = 
| caution   = 
| notice    = 
| tip       = 
| protected = 
| neutral   = 
| empty     = 
| invalid   = 
}}
Related templates