Template:Message box

From SponsorBlock
Jump to navigation Jump to search

This templates creates a message box.

Usage

{{Message box|mini=1|discuss=1|text=A small message box with an example text.}}

{{Message box|type=notice
|title=This page describes upcoming features.
|text=Development versions supporting them have already been released, but they are not available from addon stores yet.
}}

{{Message box|type=notice|text=Useful information that users should know.}}
{{Message box|type=tip|text=Helpful advice for doing things better or more easily.}}
{{Message box|type=important|text=Key information users need to know to achieve their goal.}}
{{Message box|type=warning|text=Urgent info that needs immediate attention to avoid problems.}}
{{Message box|type=caution|text=Advises about risks or negative outcomes of certain actions.}}

Examples

A "mini" message box with a discussion link:

A small message box with an example text.[discuss]

A normal message box with type notice and a title:

This page describes upcoming features.
Development versions supporting them have already been released, but they are not available from addon stores yet.

Message boxes for on-topic notices:

Useful information that users should know.
Helpful advice for doing things better or more easily.
Key information users need to know to achieve their goal.
Urgent info that needs immediate attention to avoid problems.
Advises about risks or negative outcomes of certain actions.

Types

Message boxes can be given different types using the |type= parameter.

The supported types for article organization are:

  • style
  • minor
  • major
  • organization
  • details
  • notice

The supported types for on-topic notices are:

  • notice
  • tip
  • important
  • warning
  • caution

Every message box type can be given individual styling.

See also