Content Formatting Macros for Confluence Server and DC

Message Box

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.

    message 01
  5. Complete the desired fields.

    Parameter Description Type Default Required

    Title

    The text appearing in the message.

    string

    none

    check

    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

    check

    Message Type

    The type of message to display:

    • generic

    • warning

    • error

    • success

    • hint

    single select

    generic

    check

    ID

    Specifies a CSS ID to be added.

    string

    none

    error

    Class

    Specifies a CSS Class to be added.

    string

    none

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

    message 02
  7. Once saved, an Atlassian styled Message Box will appear on the page.

    message 03

Style Reference

message 04

Icon Reference

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

message 05