Template:Message: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
{{#tag:div|{{#tag:i|| | {{#tag:div|{{#tag:i|| | ||
class=icon-{{#switch: {{{style}}} | class=icon-{{#switch: {{{style}}} | ||
| info = message-circle- | | info = message-circle-more | ||
| danger = message-circle- | | danger = message-circle-warning | ||
| success = message-circle-heart | | success = message-circle-heart | ||
| warning = message-circle-warning | | warning = message-circle-warning | ||
Latest revision as of 09:57, 25 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}}