Template:Message: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
"success" | "success" | ||
], | ], | ||
"default": "info" | "default": "info", | ||
"description": "Message box style, which defines the colours and icon." | |||
}, | }, | ||
"title": { | "title": { | ||
"label": "Title", | "label": "Title", | ||
"type": "string" | "type": "string", | ||
"description": "Message box title, to display next to the icon." | |||
}, | }, | ||
"text": { | "text": { | ||
"label": "Text", | "label": "Text", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"description": "Message box main text." | |||
} | } | ||
}, | }, | ||
Revision as of 13:03, 23 October 2025
A message box containing important information to be made more prominent.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Message box title, to display next to the icon. | String | optional |
| Text | text | Message box main text. | String | required |
| Style | style | Message box style, which defines the colours and icon.
| String | optional |
Example
{{Message|title=Title|text=Warning text!|style=warning}}