Difference between revisions of "Error"

m (Correcting error)
(Added description and parameters)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div style="color: red; font-weight: bold;">
 
<div style="color: red; font-weight: bold;">
{{{1}}}
+
{{{text}}}
 
</div></includeonly>
 
</div></includeonly>
 +
<noinclude>
 +
== Description ==
 +
This template displays an error message in red (visible for the user). It is used by other templates to signify an error.
 +
 +
== Parameters ==
 +
{{bullet}} '''text''': The content of the error message.
 +
 +
== Usage ==
 +
<pre>{{error|text=Example}}</pre>
 +
</noinclude>

Revision as of 16:02, 6 September 2021


Description

This template 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|text=Example}}