Template:Error/doc
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
[edit]To 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
[edit]The 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).