The Message Box macro allows the creation of Atlassian styled highlighted message boxes, which provide contextual information to users.

Usage

  1. Go to the form you wish to edit.

  2. Click Edit.

  3. Click Insert More Content, and select Other Macros.

  4. Select the Message Box macro from the provided list.

    The Macro Browser with the Message Box macro available.
  5. Complete the desired fields.

    ParameterDescriptionTypeDefaultRequired

    Title

    The text appearing in the message.

    string

    none

    Message Icon

    Choose a message icon option:

    • None: no icon is displayed in the message box.

    • Default: the default icon for the selected message type is displayed, e.g. a green tick is displayed for a Success message box.

    • Preset icon: select from a list of Content Formatting icons. See the icon reference below.

    single select

    success

    Message Type

    The type of message to display:

    • generic

    • warning

    • error

    • success

    • hint

    single select

    generic

    ID

    Specifies a CSS ID to be added.

    string

    none

    Class

    Specifies a CSS Class to be added.

    string

    none

  6. The macro will then appear on the page, with space to add any content into the body of the Message Box.

    The placeholder for a Message Box macro.
  7. Once saved, an Atlassian styled Message Box will appear on the page.

    An example saved and rendered Message Box macro.

Style Reference

Icon Reference

Icons may look slightly different depending on the version of Confluence.

A key to the icons available in Confluence.