Template:Warning box: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "{{mbox|title={{{title|}}}|text={{{text|}}}|color_bar=#FF665E|icon=triangle-exclamation}}") |
Robertbaxter (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{mbox|title={{{title|}}}|text={{{text|}}}|color_bar=#FF665E|icon=triangle-exclamation}} | <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 tutorial pages). | |||
== Usage == | |||
Provided fields fill out the optional title + text of the message box. | |||
<pre> | |||
{{Warning box|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.}} | |||
</pre> | |||
{{mbox|text=Keep the Riso <u>''turned off'' and ''unplugged''</u> during the following steps.|color_bar=#FF665E|icon=triangle-exclamation}} | |||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Header text to be used at the top of the box—this will be displayed in bold.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"text": { | |||
"label": "Text", | |||
"description": "The body text of the message box.", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Used to display a simple warning box.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude><!-- | |||
--><includeonly>{{mbox|title={{{title|}}}|text={{{text|}}}|color_bar=#FF665E|icon=triangle-exclamation}}</includeonly> |
Revision as of 20:03, 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 tutorial pages).
Usage
Provided fields fill out the optional title + text of the message box.
{{Warning box|text=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 | |
---|---|---|---|---|
Title | title | Header text to be used at the top of the box—this will be displayed in bold. | String | suggested |
Text | text | The body text of the message box. | String | required |