Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Message: Difference between revisions

Template page
Line 49: Line 49:
== Example ==
== Example ==
<pre><nowiki>{{Message|title=Title|text=Warning text!|style=warning}}</nowiki></pre>
<pre><nowiki>{{Message|title=Title|text=Warning text!|style=warning}}</nowiki></pre>
{{Message|text=Warning text!|style=warning}}
{{Message|title=Title|text=Warning text!|style=warning}}


== Supported Styles ==
== Supported Styles ==

Revision as of 12:50, 23 October 2025

A message box containing important information to be made more prominent.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Stylestyle

no description

Suggested values
info danger warning success
Default
info
Stringoptional
Titletitle

no description

Stringoptional
Texttext

no description

Stringrequired

Example

{{Message|title=Title|text=Warning text!|style=warning}}
Title

Warning text!

Supported Styles

{{{text}}}

{{{text}}}

{{{text}}}

{{{text}}}