The Adaptavist Group LogoDocumentation

Message Box

The Message Box macro allows you to add an Atlassian-styled highlighted message box to your page. You can easily use the standard options, but if you wish to customize the background color and text, you can combine the Message Box macro with our CSS Style Sheet Macro.

You can use them to provide context and highlight the information you want to call out.

Add a Message Box to your page

  1. Navigate to the page you want to edit.
  2. Click Edit.
  3. Click the position where you want to add a message box. This can be repositioned later if desired.
  4. Click Insert More Content → Other Macros.
  5. Select the Message Box macro from the Macro Browser.
  6. Complete the required parameters to customize the message box.
    Parameter DescriptionTypeDefaultRequired
    Message Type Select the type of message to display:
    • generic
    • warning
    • error
    • success
    • hint
    stringnone
    Message Box TitleEnter the title or header text to display in the body of the message box.single selectsuccess
    Icon Choose a message icon option:
    • None: no extra 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 icons. See the icon reference below.
    single selectgeneric
    ID Specify a unique ID for this element. Use this to link to Tooltip, Dialog, or Rollover Macros. If using this parameter to apply styling to the element, do not include the # selector. stringnone
    CSS Class Use in combination with Global Confluence CSS or a CSS Stylesheet macro that you have added to your page. Enter the CSS class name(s) to apply to the macro (case sensitive); multiple classes can be separated by a space or comma. Do not include the . selector in the class name. stringnone
  7. Click Insert. The macro placeholder displays, with space to add your message box contents.
  8. Enter the text that you want to display in the message box. It is shown below the title defined in the Title parameter.
  9. Save the page to view the rendered message box.

Style Reference

Icon reference

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

Search documentation

Start typing to search the docs.