Confluence 3.0 has reached end of life
Check out the [latest version] of the documentation
The Spaces List Macro is used to display a list of spaces from within a page.
By default, Confluence lists the spaces from your current view of spaces on the Dashboard.
For each space listed, there is a link to browse the space, and to add a new page (if the user has permission to create pages).
On this page:
Usage with the Macro Browser
To insert the spaces list macro into a page using the Macro Browser,
- Open your desired Confluence page, then click the 'Edit' button. The 'Edit Page' mode opens.
- Next, click the Macro Browser icon on the editor toolbar. The Macro Browser will open in the middle of the screen.
- In the Macro Browser, type the name of your desired macro into the search box at the top right of the window. Macros with a matching name will appear in the centre pane. Click on the desired macro to see its options screen. Here, you can set the macro parameters then click 'insert' to put the macro into the page.
Once you've found the spaces list macro, click 'insert' to add it to your page.
Usage with the Wiki Markup Editor
What you need to type |
What you will get |
|---|---|
{spaces-list} |
Unknown macro: {spaces-list} |
Parameters
Parameters are settings for Confluence macros that allow the user to control their content or presentation. The table below lists relevant parameters for this macro.
Parameter names are displayed differently in the macro browser interface and in wiki markup. Below, parameter names used in the macro browser are indicated in Bold text, while their equivalents in wiki markup are indicated in (
bracketed) text. If the latter is not shown, then in wiki markup, the parameter's name should be omitted and only its value should be added immediately after the colon symbol (:).
Parameter |
Required? |
Default |
Description |
|---|---|---|---|
Scope of spaces |
no |
all |
Specify the view from which spaces are listed. Available options are:
|
Width of List |
no |
100% |
Specify the width of the table. The width of the spaces list table, specified as a percentage (%). |
Examples
Specify the width of the table in which the spaces are listed
{spaces-list:width=40%}
Specify the view from which spaces are listed
{spaces-list:team}
Replace 'team' with 'all', 'my' or 'new' to display all spaces, my spaces only or new spaces only.
RELATED TOPICS
Browsing a space
Creating a New Page
Working with Macros
Take me back to the Confluence User Guide.
