You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

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,

  1. Open your desired Confluence page, then click the 'Edit' button. The 'Edit Page' mode opens.
  2. Next, click the Macro Browser icon on the editor toolbar. The Macro Browser will open in the middle of the screen.
  3. 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}
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.

(info) 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:

  • all — all spaces in the Confluence installation.
  • team — spaces grouped according to team labels.
  • my — spaces which you have added to your favourites list.
  • new — new spaces which have been created within the last 7 days.

Width of List
(width)

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.

  • No labels