Info, Tip, Note, and Warning Macros

The Info, Tip, Note, and Warning macros allow you to highlight information on a Confluence page. They create a coloured box surrounding your text, like this:

To add an Info, Tip, Note, or Warning Macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros
  2. Find and select the required macro

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.

Parameters

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Parameter

Default

Description

Optional Title
(title

none

The title of the box. If specified, the title text will be displayed in bold next to the icon.

Show information/tip/Exclamation Mark/Warning Icon
(icon

true

If "false", the icon will not be displayed.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: info/tip/note/warning

Macro body: Accepts rich text.

Storage format example

The following example shows the info macro with all parameters and a body:

Below are some examples of the Info macro with various optional parameters used.

Description

Markup What you will get

Info macro with a body defined and no optional parameters

 This is important information.

Info macro with with a body and an optional Title parameter defined

This is my title

 This is important information.

Info macro with a body and optional Title and Icon parameters defined

This is my title

 This is important information.

Wiki markup example

Was this helpful?

Thanks for your feedback!

21 Archived comments

  1. User avatar

    Robert Lee

    Can you edit the size of the title text?

    17 Jun 2010
    1. User avatar

      Sashidaran Jayaraman [Atlassian]

      Hi Robert,

      There's no direct way to do this. However, you can actually tweak the size by going to Dashboard > Administration > Look and Feel > Global Stylesheet and enter the following:

      Feel free to change the font-size. Hope this helps.

      Cheers
      JSashi

      03 Sep 2010
  2. User avatar

    Anonymous

    Can you change the size of the blue box?

    14 Oct 2010
    1. User avatar

      Anonymous

      You can use columns or tables to limit the size of the box.

       

      Box1

      Something to say here.

      Box2

      Something else to say here.

      15 Mar 2011
  3. User avatar

    Kevin Wulzen

    Is it possible to change the background color of the info box?

    02 Mar 2011
  4. User avatar

    Egbert Jansen

    I don't see the border of the box anymore when using Confluence 4.0. There was one in 3.5.

    It's the same with almost all format macro's like Info, Note and Tip.

    Is this new in Confluence 4.0?

    20 Sep 2011
    1. User avatar

      Edwin Dawson [Atlassian Technical Writer]

      Hi there Egbert,

      Borders on the Info macro should be visible, as they are in the examples on this page. If you can't see borders on the example here, it may be your local computer configuration. If not, please raise a support request so that our support engineers can assist you.

      I hope this helps.

      Best Regards,

      Edwin Dawson
      Technical Writing Team Leader
      Atlassian
      http://www.atlassian.com

      27 Sep 2011
  5. User avatar

    Anonymous

    Guys, you took out the wiki markup way to do this (e.g. Info Macro#UsagewiththeWikiMarkupEditor) but you can't do that until all the places we need to use wiki markup (like the Global Template editor) are gone from the product.

    Please restore the sections that show wiki markup examples for this and all other macros, at least until we no longer need to use it to create Global Templates!

    P.S. Even once you've replaced all the wiki markup editors with RTEs, some people still might find it easier to use the "Insert Wiki Markup" method, especially if they are hand-editing parameters - so you may want to keep the wiki markup examples around even after that point.

    31 Jan 2012
    1. User avatar

      Anonymous

      Yes. Completely agree. Working a lot with templates, and I have to rely on the comments sections to randomly find wiki-markup for Global Templates. 

      11 Feb 2012
  6. User avatar

    Anonymous

    I'm missing info macro icons in pdf exports. Is this normal?

    17 Mar 2013
  7. User avatar

    Ben Vost

    Hi all,

    Can I change the icons used for {Tip, {Info and {Warning macros? I'd like to be able to use the icons we created for our documentation to make Confluence and the PDF docs look more consistent.

     

    B

    28 May 2013
  8. User avatar

    Xavier Borderie

    I have created an issue about this: CONF-31307 - Word and PDF Export: Info, Note, Warning and Tip macros are not included in the exported document Open .

    23 Oct 2013
  9. User avatar

    Hans-Peter Geier

    in Confluence 3 and 4, info had light-blue background. Now it is white.

    • why?  (some people at Atlassian seem to have a boring time...)
    • How to change it back? (CSS entry?)
    21 Feb 2014
    1. User avatar

      Alex Maxwell

      Its not that they are white, its that they are very very light compared to what they used to be. All four of these are way to light now. For instance with the Info and Warning boxes I have to make the font bold to make it really pop like it used to. Can these 4 boxes have the bg color raised like they used to be? It was much nicer when they looked like this - 

      https://wiki.umms.med.umich.edu/display/demo/Useful+Macros#UsefulMacros-high

      27 Apr 2015
      1. User avatar

        Giles Brunning [Atlassian Technical Writer]

        Hi Alex and Hans-Peter,

        You should be able to change the background color with CSS. I just did a quick test by applying a different color to div.confluence-information-macro.confluence-information-macro-information, and it worked fine.

        If you think it's an issue, feel free to make a suggestion so we can try to gauge the demand.

        28 Apr 2015
  10. User avatar

    Christian Sprenger

    According ISO xyz we have to have different icons for "Note", "Info" etc.

    Is it also possible in the global style sheet or somewhere to change the icons? Or do I have to create custom Plugins and disable the included ones?

    05 May 2015
    1. User avatar

      Rachel Robins [Atlassian Tech Writer]

      Hi Christian, there's some information here that might help you get started https://answers.atlassian.com/questions/77193/what-is-the-source-code-for-the-info-warning-note-and-tip-macros-to-create-own-user-macros

      To be honest I don't know if you can swap out the icons for the existing macros - but sounds like you should be able to create user macros to make some replacements. 

      05 May 2015
      1. User avatar

        Christian Sprenger

        Thx for the info, I'll check and see what happens (smile)

        06 May 2015
        1. User avatar

          Alicia Newell

          Hi Christian. I was wondering if you had any luck with this? We also have a regulatory requirement that needs specific icons for notes, warnings, and cautions and we're getting nowhere trying to add them via CSS. As a last resort we are going to have to use tables to hold the icons, but not being able to remove table borders and the way tables export wonkily in PDF makes the ugliest notes ever! Thanks! 

          12 Jun 2015
          1. User avatar

            Christian Sprenger

            Hello Alicia,

            unfortunately, I haven't had much time so I've not really been able to check.
            The most difficult problem: I don't want to "mess" with the source code, so I ahve to check with our Admin how to do it the most safe way.
            If it would be possible otherwise than no problem.

            I 've been thinking a workaround, but also not tested.
            On one page you put the icons you want to use. Than, instead of the macro, you insert just the picture. Not so nice but at least something.

             

            Maybe Atlassian has mercy with it's users and makes it more flexible (wink) 

            12 Jun 2015
            1. User avatar

              Alicia Newell

              Thanks for sharing your idea for a work around. I think what we're going to end up doing is add the regulatory graphic in the actual note or warning with a transparent background. The next challenge we're facing is that the PDF publish doesn't really allow for inline graphics. It always pushes the text to the next page so I think no matter what it is going to be clunky and awful looking! 

              Best of luck! 

              12 Jun 2015
Powered by Confluence and Scroll Viewport