Template:Blackboxwarning
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.}} |
|
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.}} |
See also
- {{Admon/caution}}
- {{Admon/important}}
- {{Admon/note}}
- {{label}}
- {{message}}
- {{message/box}}
- {{warning}}
The above documentation is transcluded from Template:Blackboxwarning/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |