Template:Blackboxwarning

From MozillaWiki
Jump to: navigation, search
Warning Warning
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{blackboxwarning}} creates an information box intended for very strong warning messages. The box will show at the position on the page where you put the template, and stretch horizontally to fill the width of the available space and vertically depending on how many rows of text are needed. The text inside the box is centred.

To use the template, type {{blackboxwarning|custom text}}.

Parameter

There is only one parameter, which is unnamed (below called 1). The text inside the box can be formatted using wiki-code.

Custom text

1: Custom text

This parameter is used for entering the message text. It is not strictly required, but strongly recommended, since the template is more or less useless without it. The parameter is unnamed, so no parameter name needs to be entered.

Usage:

  • {{blackboxwarning|custom text}}

Examples

Example case What you write What you see
Plain text {{blackboxwarning|This is your message.}}
Warning This is your message. Warning
Wiki-coding
{{blackboxwarning
|Wiki-formatting {{sup|can}} '''be''' ''used'' 
'''''in the''''' <sub>message</sub>. <br />
You can use wiki-code to, e.g.
[[link to stuff]],
* list things,
make text <small>small</small> or <big>big</big>,
 and include pre-format boxes.
You can even



insert empty rows.}}
Warning Wiki-formatting can be used in the message.

You can use wiki-code to, e.g. link to stuff,

  • list things,

make text small or big,

and include pre-format boxes.

You can even


insert empty rows.

Warning

See also