Difference between revisions of "Error"

m (Fixed spacing)
m (Stopped automatic linebreaks by replacing <div> with <span>)
Line 1: Line 1:
<includeonly><div style="color: red; font-weight: bold;">{{{1}}}</div></includeonly><noinclude>
+
<includeonly><span style="color: red; font-weight: bold;">{{{content|{{{text|{{{1}}}}}}}}}</span></includeonly><noinclude>
 
== Description ==
 
== Description ==
 
This template displays an error message in red (visible for the user). It is used by other templates to signify an error.
 
This template displays an error message in red (visible for the user). It is used by other templates to signify an error.
Line 7: Line 7:
  
 
== Usage ==
 
== Usage ==
<pre>{{error|Example}}</pre>
+
<pre>{{error|Example}}</pre></noinclude>
</noinclude>
 

Revision as of 17:35, 16 January 2022

Description

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

Parameters

(unnamed parameter): The content of the error message.

Usage

{{error|Example}}