Template:Warning: Difference between revisions
Jump to navigation
Jump to search
Created page with "<div style="border: 2px solid #f4a020; background-color: #fff3cd; padding: 10px 15px; margin: 10px 0; border-radius: 4px;"> <strong>⚠️ Warning:</strong> {{{1|Warning text goes here.}}} </div><noinclude> == Usage == <pre>{{Warning|Your warning message here.}}</pre> == Example == {{Warning|This page is under construction.}} Category:Notice templates </noinclude>" |
No edit summary |
||
| Line 7: | Line 7: | ||
== Example == | == Example == | ||
{{Warning|This page is under construction.}} | {{Warning|This page is under construction.}} | ||
<templatedata> | |||
{ | |||
"description": "Displays a warning box to highlight important cautionary information.", | |||
"params": { | |||
"1": { | |||
"label": "Message", | |||
"description": "The warning message to display.", | |||
"type": "string", | |||
"required": true, | |||
"example": "This page contains outdated information." | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Notice templates]] | [[Category:Notice templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:50, 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 |