Template:Error
{{{1}}}
This template allows other templates to output error messages. The error messages produced by this template are recognised as errors by the Mediawiki parser; this means that things like the {{#iferror:...
magic word will treat messages produced by this template as errors when encountered.
Basic Usage
editTo produce an error simply provide the text you wish to print as either the first unnamed parameter or the message parameter:
{{Error|An example of an error}}
or
{{Error|message=An example of an error}}
produces
An example of an error
Tag parameter
editThe template accepts an optional tag parameter which changes how the error looks. Accepted values are strong
(default, bold red message), span
(normally weight red message), div
(error message on its own line) and p
(error message in its own paragraph).
The above documentation is transcluded from Template:Error/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. |