Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

User:Johan G/Messagebox/style

From FlightGear wiki
Jump to: navigation, 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