Template:Error/doc: Difference between revisions
ArrowHead294 (talk | contribs) Created page with "{{dochead}}{{wikipedia}} This template returns a ''state of error'' message in red, visible for the user.{{clear}}" |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{substitute|no}}{{wikipedia}} | ||
This template returns a ''state of error'' message in red, visible for the user.{{clear}} | This template returns a ''state of error'' message rendered in '''bold''' red text, visible for the user. It is intended for use by other templates to indicate an error condition, such as when parameters have not been entered correctly.{{clear}} | ||
=== Usage === | |||
<pre>{{error|Hello world}}</pre> | |||
gives | |||
{{Error|Hello world}} |