Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

Macros


Macros

Macros are extensions that allow you to add extra features to your content...

What are Macros?

Macros allow you to apply extra formatting, functionality and customisation to your content. As you'll see from the Related Tutorials sub-section below, there are lots of macros to choose from!

Related Tutorials

We're about one third of the way through fully documenting all the macros - here's what we've documented so far...

Advanced

Advanced macros enable you to add custom HTML and scripting to your content...

  • add-label macroThe {add-label} macro allows you to add one or more labels to a page automatically.
  • alias macroThe {alias} macro allows you to create aliases (or shortcuts) for pages...
  • create-page macroThe {create-page} macro asks the user for the name of the page and then creates it based on a template...
  • div macroThe {div} macro wraps content in a div tag with optional class and styles...
  • html macroThe {html} macro allows you to add raw HTML to your pages, but should be used with care...
  • html-tag macroThe {html-tag} macro provides a safe mechanism for the addition of specific HTML tags and attributes to be inserted in to your content...
  • redirect macroThe {redirect} macro will automatically redirect the browser to an alternate web page either within your own site or on an external site...
  • span macroThe {span} macro wraps content in a span tag with optional class and styles...
  • style macroThe {style} macro allows you to add custom style sheets to a page or import from an external URL...

Basic Formatting

Basic Formatting macros allow you to change text colour, put content in panels and other basic formatting requirements...

  • align macroThe {align} macro allows you to quickly and easily set the alignment of content...
  • bgcolor macroThe {bgcolor} macro allows you to change background colour of a block of content...
  • center macroThe {center} macro allows you to quickly and easily center content...
  • code macroThe {code} macro is used to display syntax highlited source code...
  • color macroThe {color} macro allows you to change text colour quickly and easily...
  • copyright macroThe {copyright} macro makes it easy to add customisable copyright marks to your content...
  • highlight macroThe {highlight} macro allows you to change background colour of a section of content...
  • loremipsum macroThe {loremipsum} macro adds latin text to your page, useful for testing purposes...
  • noformat macroThe {noformat} macro is used to display unformatted text on your pages...
  • quote macroThe {quote} macro is used to group blocks of content quickly and easily...
  • reg-tm macroThe {reg-tm} macro makes it easy to add customisable registered trademarks to your content...
  • sm macroThe {sm} macro makes it easy to add customisable service marks to your content...
  • strike macroThe {strike} macro provides a highly graphical way to indicate deleted text...
  • tm macroThe {tm} macro makes it easy to add customisable trademarks to your content...

Games

Add brain-taxing games to Confluence...

Generic Macros

These Generic macros haven't yet been classified in to a specific category, but you'll find some amazing things here...

  • chart macroThe {chart} macro creates pie, line and bar charts quickly and easily...
  • display-footnotes macroThe {display-footnotes} macro is used to display any as-yet undisplayed footnotes created with the {footnotes} macro...
  • dynamictasklist macro
  • excerpt macroThe {excerpt} macro defines a block of text as being the excerpt (or summary) for a page...
  • excerpt-include macroThe {excerpt-include} macro displays the an excerpt from another locaiton in your content...
  • footnote macroThe {footnote} and {display-footnotes} macros allow you to easily create footnotes in your content...
  • form-mail macroThe {form-mail} macro adds a simple, no-frills email form you to your content...
  • gallery macroThe {gallery} macro allows you to display a thumbnail image gallery on a page...
  • privacy-mark macroThe {privacy-mark} macro highlights parts of your content that are referred to by your privacy policy...
  • privacy-policy macroThe {privacy-policy} macro displays a short privacy statement on your site which links to your main Privacy Policy...
  • rate macroThe {rate} macro allows visitors to rate various aspects of your content and even themselves...
  • rate-table macroThe {rate-table} macro is used to show statistics gathered from the rate macro...
  • rollover macroThe {rollover} macro allows you to quickly and easily create CSS rollover effects

Layout

Layout macros are used to arrange content in to panels, columns and block quotes...

  • card macroThe {card} macro, when used with the {deck} macro, creates a tabbed panel which is ideal for separating out blocks of related content.
  • cloak macroThe {cloak} macro is used in conjunction with the toggle-cloak macro to show and hide blocks of content...
  • column macroThe {column} macro, when contained within the section macro, arranges content in to columns...
  • composition-setup macroThe {composition-setup} macro is used in conjunction with the other composition macros and sets up data that they will need to function correctly...
  • deck macroThe {deck} macro, when used with the {card} macro creates a tabbed panel which is ideal for separating out blocks of related content.
  • float macroThe {float} macro allows you to position a block of content on the left or right of the page...
  • info macroThe {info} macro allows you to quickly and easily highlight useful information...
  • lozenge macroThe {lozenge} macro creates a lozenge button with optional link...
  • note macroThe {note} macro allows you to quickly and easily highlight important information or warning messages...
  • panel macroThe {panel} macro creates a customisable panel that allows you to add a title, border and background colour to blocks of content...
  • roundrect macroThe {roundrect} macro allows you to quickly and easily create rounded rectangles
  • section macroThe {section} macro, when used in conjunction with the column macro, allows you to create multi-column layouts...
  • table macroThe {table} macro and it's related macros allow you to create custom table layouts in Confluence content...
  • tip macroThe {tip} macro allows you to quickly and easily highlight hints and tips...
  • toggle-cloak macroThe {toggle-cloak} macro is used in conjunction with the cloak macro to show and hide blocks of content...
  • warning macroThe {warning} macro allows you to quickly and easily highlight warnings or critical messages...

Navigation and Lists

Navigation and List macros provide additional navigation elements and lists of content, etc...

  • anchor macroThe {anchor} macro allows you to create an anchor (or "bookmark") within a page allowing links to jump directly to that part of the page...
  • children macroThe {children} macro displays lists of child pages attached to the current page or orphan pages that are not attached to any page...
  • clickable macroThe {clickable} macro allows you to quickly and easily link entire blocks of content...
  • incoming-links macroThe {incoming-links} macro displays a customisable list of incoming links for the current page...
  • link-to macroThe {link-to} macro allows you to link to almost every feature in Confluence...
  • noparent macroThe {noparent} macro lists all [USERGUIDE:Orphan Pages] within a space, i.e. pages without a parent...
  • page-info macroThe {page-info} macro allows you to display several useful pieces of information about the page in a simple format
  • pagetree macroThe {pagetree} macro, is used for displaying a tree view of the page hierarchy.
  • scrollbar macroThe {scrollbar} macro displays a linear navigation bar that makes scrolling through adjacent pages easy...
  • search-box macroThe {search-box} macro displays a search box on your page...
  • spaces macroThe {spaces} macro displays a list of spaces, similar to that on the dashboard...
  • toc macroThe {toc} macro displays a table of contents based on headings present on the page...
  • toc-zone macroThe {toc-zone} macro displays a table of contents based on headings contained within it...
  • version-history macroThe {version-history} macro allows you to display a table detailing the changes that have been made to the page...

Theme Builder Macros

Users and Personalisation

User and Security macros display users lists and also allow content to be filtered depending on the logged in user...

  • aim macroThe {aim} macro shows the online status for a specific AOL Intant Messenger user...
  • hide-from macroThe {hide-from} macro hides page content from specific users or groups...
  • icq macroThe {icq} macro shows the online status for a specific ICQ user...
  • icq-time macroThe {icq-time} macro displays an ICQ local time panel for a specific ICQ user...
  • show-to macroThe {show-to} macro displays content only to specific users or groups...
  • space-access macroThe {space-access} macro lists all registered users who can access a space (eg. your website or intranet)...
  • yahoo macroThe {yahoo} macro shows the online status for a specific Yahoo Instant Messenger user...

Frequently Asked Questions

Q Are there any macros that aren't listed here?
A Probably. New macros are being written all the time so check the Confluence Extensions page to see the latest developments.
Q Can I make my own macros?
A Yes. You can either create simple [USERGUIDE:User Macros] or your own custom [USERGUIDE:Plugins].
Q I want a custom macro writing, will Adaptavist do it for me?
A Yes. Adaptavist have already written numerous user macros and plugins. For more information, please Contact Us.

See Also

Toggle Sidebar

See Also

Incoming Links


Outgoing Links


Added by Guy Fraser on Aug 24, 2005 00:40, last edited by Guy Fraser on Jul 21, 2008 19:12
Anonymous

This should be quite useful--I'm glad I stumbled across this site!

alignment is misspelled as alignement under the align macro .

-Ben H.

Is it possible to name areas on a page such that they can be referred to and be included and be automatically updated in other pages when the named area is edited?

This would presumably be similar to the 'excerpt' and 'include-excerpt' macros, however I would like to have an 'excerpt' and a number of named areas on the same page.

TIA.

Chris.


Adaptavist Theme Builder Powered by Atlassian Confluence