Difference between revisions of "Error/Documentation"

m
Line 1: Line 1:
 
== Description ==
 
== 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 [[:Category:Template Errors]].
 
Displays an error message in red (visible for the user). It is used by other templates to signify an error. Adds the page to [[:Category:Template Errors]].
 
+
== Usage ==
 +
{{T|error|Example}}
 
== Parameters ==
 
== Parameters ==
 
{{parameter|text|The content of the error message.}}
 
{{parameter|text|The content of the error message.}}
 
== Usage ==
 
<pre>{{error|Example}}</pre>
 
 
==Errors==
 
==Errors==
 
'''No error text was provided. Add a text parameter.'''
 
'''No error text was provided. Add a text parameter.'''

Revision as of 19:58, 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.

Usage

{{error|<Example>}}

Parameters

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

Errors

No error text was provided. Add a text parameter.