Difference between revisions of "Error/Documentation"

m (No need for "this template" preamble)
m (→‎Parameters: Parameter is named)
Line 3: Line 3:
  
 
== Parameters ==
 
== Parameters ==
{{bullet}} '''(unnamed parameter)''': The content of the error message.
+
{{bullet}} '''text''': The content of the error message.
  
 
== Usage ==
 
== Usage ==
 
<pre>{{error|Example}}</pre>
 
<pre>{{error|Example}}</pre>

Revision as of 17:02, 11 July 2022

Description

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

Parameters

text: The content of the error message.

Usage

{{error|Example}}