Template:Warning: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"example": "This | "example": "This action cannot be undone." | ||
}, | |||
"title": { | |||
"label": "Title", | |||
"description": "Custom title for the warning box.", | |||
"type": "string", | |||
"default": "Warning", | |||
"example": "Caution" | |||
}, | |||
"icon": { | |||
"label": "Icon", | |||
"description": "Custom emoji or icon to display.", | |||
"type": "string", | |||
"default": "⚠️", | |||
"example": "🛑" | |||
} | } | ||
} | } | ||
Revision as of 18:54, 1 January 2026
⚠️ Warning: Warning text goes here.
Usage
{{Warning|Your warning message here.}}
Example
⚠️ Warning: This page is under construction.
Displays a warning box to highlight important cautionary information.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Message | 1 | The warning message to display.
| String | required |
| Title | title | Custom title for the warning box.
| String | optional |
| Icon | icon | Custom emoji or icon to display.
| String | optional |