Template:Message: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{#tag:i|| | {{#tag:i|| | ||
class=icon-{{#switch: {{{style}}} | class=icon-{{#switch: {{{style}}} | ||
| info = message-circle-question-mark | |||
| danger = message-circle-x | |||
| success = message-circle-heart | |||
| warning = message-circle-warning | |||
}} | |||
{{#tag:span|{{{title}}}}} | }} | ||
{{#tag:span|{{{title}}} }} | |||
|class=message-title}} | |class=message-title}} | ||
|}} | |}} | ||
Revision as of 12:42, 23 October 2025
A message box containing important information to be made more prominent.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Style | style | no description
| String | optional |
| Title | title | no description | String | optional |
| Text | text | no description | String | required |
Example
{{Message|title=Title|text=Warning text!|style=warning}}