Template:Error/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
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}}

Latest revision as of 18:29, 19 May 2025

This template should not be substituted.
English Wikipedia has an article on:

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.

Usage

{{error|Hello world}}

gives

Hello world