Template:Warning: Difference between revisions

From Unofficial werewolv.es How To Play
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 page contains outdated information."
"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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Message1

The warning message to display.

Example
This action cannot be undone.
Stringrequired
Titletitle

Custom title for the warning box.

Default
Warning
Example
Caution
Stringoptional
Iconicon

Custom emoji or icon to display.

Default
⚠️
Example
🛑
Stringoptional