Template:Warning: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 5: | Line 5: | ||
| Provided fields fill out the optional title + text of the message box. | Provided fields fill out the optional title + text of the message box. | ||
| <pre> | <pre> | ||
| {{Warning box| | {{Warning box|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=#FF665E|icon=triangle-exclamation}} | {{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar=#FF665E|icon=triangle-exclamation}} | ||
| Line 13: | Line 13: | ||
| { | { | ||
| 	"params": { | 	"params": { | ||
| 		" | 		"1": { | ||
| 			"label": "Text", | 			"label": "Text", | ||
| 			"description": "The body text of the message box.", | 			"description": "The body text of the message box.", | ||
| Line 31: | Line 25: | ||
| </templatedata> | </templatedata> | ||
| </noinclude><!-- | </noinclude><!-- | ||
| --><includeonly>{{mbox | --><includeonly>{{mbox|text={{{1|}}}|color_bar=#FF665E|icon=triangle-exclamation}}</includeonly> | ||
Revision as of 20:04, 12 August 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
Provided fields fill out the optional title + text of the message box.
{{Warning box|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 |