Use of this site by all users is subject to Monash University's normal Staff Acceptable Use Policy for IT Services (AUP) see below.
Skip to end of metadata
Go to start of metadata

Advanced Features and Tips

1. How can I hide content, and then reveal it when a user clicks on a link?

The "expand" macro can be used to hide text until a user clicks on the "expand" button. An example of this can be seen below:

 This will reveal some text

Here is the promised text. Enjoy!

The code for the above is:


Using the above code and adapting it will allow you to create menus, or conceal content until the user chooses to access it.


2. How can I display labels on my page?

Confluence page labels can be displayed in a number of ways, but one of the most useful label macros is sorting labels by popularity. The following code is the most basic form, and displays the 20 most commonly-used labels in Confluence.


The output of the above code is:


It is often more useful to use a "heat map" to display the labels, as the most popular labels will be presented in a larger font. The heatmap for the above is as follows:

Output:



The labels can also be refined to only display the most popular tags of a specific space using the "spaceKey" paramter:

The above code displays the following for the LaRDS wiki:


3. How can I create an RSS feed?

RSS feeds can be created using the "Feed Builder" link which is located in the bottom left-hand corner of the Dashboard. After clicking on the "Feed Builder" link, a new page will open allowing you to select which space (or spaces) you would like to monitor for updates. Select the types of updates that you would like (for example, only new pages or new news posts, etc) and then select the space or spaces from the list. If you are using Firefox as your RSS reader (recommended) select RSS 2.0 as the feed type, and then select "Authenticated" or "Anonymous" for the authentication type. If the space(s) that you have subscribed to are public then select "Anonymous", but if one or more spaces are restricted then select "Authenticated". Bear in mind though, that you will need to authenticate and log in to Confluence before authenticated feeds will update. Click on the "Create RSS Feed" button, and the final step is to click on the image at the top centre of the new page and add the bookmark to your browser.


4. How can I create a footnote?

Footnotes can be created by using the footnotes macro. The macro itself possesses two parts, the first of which contains the footnote's content, and the second of which sets the location where the footnotes will be displayed. In order to create a footnote, the following code should be used:

The code above will produce the following: 1
Clicking on the footnote would ordinarily have no effect at this point, because the location where the footnotes should be displayed has not been set. The following code will define the footnotes section:


This will produce the following output, which contains the footnotes:

Footnotes
Ref Notes
1 This is a footnote.
Now, clicking on the footnote above will highlight the footnote. Note that the above code ("display-footnotes") can be placed anywhere, not just on the bottom of a page. For example, it can be placed at the bottom of a specific section of a page, etc. A video tutorial demonstrating the use of footnotes is also available here.


5. How can I create boxes around text?

In order to create a highlight box around text, the best way is to utilise the "panels" macro. A panel can be created within the "Rich Text" interface by selecting the relevant text and using the "Format" drop-down box and accessing the "Panel" option. The result will resemble the following:

Line 1

Line 2

Line 3


The same effect can be achieved by using the following code:


Panels can also be customised with different styles and colours, and this can be achieved by altering the code above:


This will result in the following (the text colour has been changed to white to improve legibility):

Line 0 (The title of this panel)

Line 1

Line 2

Line 3


6. Does Confluence have a calendar?

Confluence supports calendars and scheduling using the "Calendar" macro, which can be accessed using the following code:

There are a number of features available through the calendar, and they are explored in detail in the official user guide. In addition, a calendar has been created here that serves as an example and also includes a regularly-occurring event in order to demonstrate scheduling.


7. Can I annotate a page?

Page annotations can be conducted in Confluence using the footnotes macro, or using the "Stickynotes" plugin. In order to use stickynotes, the following code must be entered into a page:

The result of the above code will be a series of small yellow triangles which will appear to the right of any headings in a page. Left-clicking on one of the triangles will open up a yellow box or "stickynote", which can then be used to store text. Once the text has been entered, left-click on "Save", and the note should appear. The icons in the top right-hand corner in a note will, from left-to-right: add a new note, delete a note and "pin" a note so that it remains open. Stickynotes can also be restricted to specific types of headings (such as "Heading 1") or paragraphs, and this is covered here. A video tutorial demonstrating the use of stickynotes is also available here.


8. Can I use columns in Confluence?

Columns can be created in wiki pages through the use of the "Columns" macro. The code is as follows:


This will produce the following:

Column A text

Column B text

Note that the "section" tag is used to indicate the areas in which the columns will appear, thus allowing you to create columns spanning an entire page, or portionss thereof. The width of the columns can also be set to a specific number of pixels, or to a certain percentage of a page. The code for setting column width is provided below:


9. Can I display uploaded files within a Confluence page?

In order to show a list of attachments that have been uploaded to a specific page in Confluence, as well as allow users to upload files within the page instead of accessing the "Attachments" option under the "Tools" menu, utilise the following code:

This will produce a section of the page which will resemble the following:

  File Locked By Modified
Microsoft Word 97 Document
Sep 02, 2009 by Nicholas McPhee
JPEG File
Jul 24, 2009 by Nicholas McPhee
Microsoft Excel Sheet
Jul 24, 2009 by Nicholas McPhee
Microsoft Word 97 Document
Jul 24, 2009 by Nicholas McPhee


10. Can I display a file in a Confluence page without requiring users to download it?

Certain files (such as Microsoft Word documents) that have been attached to a page can be viewed within Confluence using the "viewfile" macro, or using the Macro Browser:


This will produce the following output, and please note that the first and last "Word Document" lines have been added to DOC file for convenience, and would not ordinarily appear:

Unknown macro: {viewfile}


11. Can I use templates in Confluence for pages?
Yes you can setup templates for your confluence space.
Page templates allow you to maintain a consistent look and feel across your space and save time by not having to do fiddly repetitive formatting tasks.

  • Navigate to your space and Space Admin (in the Browse menu).
  • Select “Advanced” then “Templates”. This will display a list of templates that should be empty.
  • Click “Add New Space Template”.
  • Do the sensible thing with the Name and Description fields then add your contyent into the body of the template. * Save the template. This will take you back to the Templates area and display your new template.
  • Click “List Space Templates” and confirm your template is. Note the operations you can perform on your new template.
  • Using the Dashboard Navigate back to your home page and add a new page, this time using the template (tip: look above the edit area for a link)