Overview

Confluence user macros are very helpful scripts you use on your server or data center instances.

What are Confluence User Macros ?

If you run your own Confluence instance (Server or Data Center) you can create custom “User Macros”, little scripts that can be included in pages creating content on the fly. With those macros you can create simple HTML code snippets as well as utilize Velocity code accessing information from your Confluence database.

I will not address the basics of writing a user macro here. That is well documented in the Confluence documentation herearrow-up-right.

My User Macros

Along my work as a Confluence administrator I ran into several situations where native Confluence Server features did not offer what admins or users needed. Plugins were not available either or too expensive for the purpose. In many of those cases I found that a user macro was just the right solution to the challenge. The Confluence user community helped me a lot writing them. Here are my most useful ones as my contribution back to that community.

circle-info

This Confluence user macro lists all spaces for which 'Anonymous' has at least view permission.

circle-info

This Confluence user macro adds an HTML5 audio control element to your page that can play MP3, OGG and WAV files.

circle-info

This Confluence user macro adds a styled blockquote to your page.

circle-info

This Confluence user macro adds a Bootstrap 3 styled button, supporting different colors and sizes, and linking to a URL.

circle-info

This set of two Confluence user macros adds a Bootstrap like progress to your page, offering different coloring and animation options.

circle-info

This set of Confluence user macros adds animated diagrams to your page based on Chart.js v2.

circle-info

This Confluence user macro adds a headed panel to your page with several coloring options.

circle-info

This macro lists all spaces for which the group 'confluence-users' has at least view permission.

circle-info

This Confluence user macro adds a button group that toggles/expands/collapses all Expand sections on your page.

circle-info

This Confluence user macro adds a sorted table with numbered rows for each member of a given group.

circle-info

This Confluence user macro allows to hide content from users, groups or permissions.

circle-info

This Confluence user macro hides different Confluence sections of your page.

circle-info

This Confluence user macro adds a customizable HR element to your page.

circle-info

**** **Legend**arrow-up-right

This Confluence user macro adds a legend box to the top right of the page.

circle-info

This Confluence user macro displays the user's local date and time offering several options. Use once per page.

circle-info

This Confluence user macro adds an HTML5 marquee element to your page.

circle-info

This Confluence user macro allows you to set a different font incl. size and color for your page.

circle-info

This Confluence user macro lists space permissions and page restrictions for the current page.

circle-info

This Confluence user macro displays a panel with the profile info of a single user or all users of a group.

circle-info

Creates a risk matrix based on an issue type, likelihood field and impact field from a linked Jira instance.

circle-info

This Confluence user macro allows to show content only to certain users, groups or permissions.

circle-info

This Confluence user macro lists users and groups having permissions to the current or given space.

circle-info

This Confluence user macro adds a vertical space into your page.

circle-info

This Confluence user macro adds an HTML telephone link to your page.

circle-info

This Confluence user macro displays a link to the Tiny URL of the current page.

circle-info

This Confluence user macro adds an inline text with a hover tooltip.

circle-info

This Confluence user macro lists all spaces in which a user has either View, Edit or Admin permission.

circle-info

This Confluence user macro adds an HTML5 video control element to your page that can play MP4 and OGG files.

circle-info

This Confluence user macro adds a sizeable YouTube video frame to your page.

Last updated