Template:Warning: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{DISPLAYTITLE:Template:warning}} | ||
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). | ||
== Usage == | == Usage == | ||
The provided | 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.}} | ||
</pre> | </pre> | ||
{{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar= | {{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar={{wiki color|Red}}|icon=triangle-exclamation}} | ||
== TemplateData == | == TemplateData == | ||
| Line 25: | Line 25: | ||
</templatedata> | </templatedata> | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{{mbox|text={{{1|}}}|color_bar= | --><includeonly>{{mbox|text={{{1|}}}|color_bar={{wiki color|Red}}|icon=triangle-exclamation}}</includeonly> | ||
Latest revision as of 12:29, 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.}}
TemplateData
Used to display a simple warning box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The body text of the message box. | String | required |