Template:Warning: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
{{DISPLAYTITLE:Template:warning}}<noinclude>
This template displays a message box with a red styling and a triangle + exclamation point icon—it's meant to be used for important pull-out warnings (especially on [[:Category:Tutorials]] pages).
This template displays a message box with a red styling and a triangle + exclamation point icon—it's meant to be used for important pull-out warnings (especially on [[:Category:Tutorials]] pages).


Line 5: Line 5:
The provided field fills out the text of the message box.
The provided field fills out the text of the message box.
<pre>
<pre>
{{Warning|Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.}}
{{warning|Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.}}
</pre>
</pre>
{{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar={{wiki color|Red}}|icon=triangle-exclamation}}
{{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar={{wiki color|Red}}|icon=triangle-exclamation}}

Revision as of 12:28, 14 October 2025

This template displays a message box with a red styling and a triangle + exclamation point icon—it's meant to be used for important pull-out warnings (especially on Category:Tutorials pages).

Usage

The provided field fills out the text of the message box.

{{warning|Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.}}
Keep the Riso turned off and unplugged during the following steps.

TemplateData

Used to display a simple warning box.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The body text of the message box.

Stringrequired