Template:Warning: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 34: | Line 34: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Warning Message", | "label": "Warning Message", | ||
"description": "The main text of the warning. Do not include 'Warning:' as the template adds this automatically.", | "description": "The main text of the warning. Do not include 'Warning:' as the template adds this automatically.", | ||
Revision as of 05:51, 17 February 2026
Warning:
Usage
This template has two possible usages:
- Will have the text flow below when the warning text is too long.
- Uses a table to indent the text.
Method 1
The following displays the warning icon and the word "Warning:".
You can follow this with whatever text/images/markup you like.
Example:
Method 2
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon.
Warning Message template data:
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Warning Message | 1 | The main text of the warning. Do not include 'Warning:' as the template adds this automatically.
| Content | required |