Difference between revisions of "Error/Documentation"

m
 
(2 intermediate revisions by the same user not shown)
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.}}
 
+
==Errors==
== Usage ==
+
'''No error text was provided. Add a text parameter.'''
<pre>{{error|Example}}</pre>
+
<includeonly>[[Category:General Wiki Templates]]</includeonly>

Latest revision as of 18:57, 19 August 2023

Description[edit]

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[edit]

{{error|<Example>}}

Parameters[edit]

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

Errors[edit]

No error text was provided. Add a text parameter.