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).

{color:#0099cc}{*}Spaces List Macro{*}{color}
|| What you need to type || What you will get ||
| \{spaces-list\} | {spaces-list} \\ |

----
h4. Optional Parameters

|| No  || parameter || Default || Description ||
|  1 | width | 100% | Specify the width of the table \\ |
|  2 | spaces-list | all | Specify the view from which spaces are listed |
{color:#0099cc}{*}Specify the width of the table in which the spaces are listed{*}{color}
{code}
{spaces-list:width=40%}
{code}\\

----
{color:#0099cc}{*}Specify the view from which spaces are listed{*}{color}
{code}
{spaces-list:team}
{code}\\

Replace 'team' with 'all', 'my' or 'new' to display all spaces, my spaces only or news spaces only.

h5. RELATED TOPICS

[Browsing a space]
[Creating a New Page]
[Working with Macros]

Take me back to [Confluence 2.0 to 2.5 User Guide]