Difference between revisions of "Error/Documentation"

Line 7: Line 7:
 
== Usage ==
 
== Usage ==
 
<pre>{{error|Example}}</pre>
 
<pre>{{error|Example}}</pre>
 +
==Errors==
 +
'''No error text was provided. Add a text parameter.'''

Revision as of 17:23, 25 February 2023

Description

Displays an error message in red (visible for the user). It is used by other templates to signify an error. Adds the page to Template Errors.

Parameters

Arrow.pngtext: The content of the error message.
Required.

Usage

{{error|Example}}

Errors

No error text was provided. Add a text parameter.