Search the Confluence 4.1.x Documentation:

Index
Downloads (PDF, HTML & XML formats)
Other versions

This documentation relates to Confluence 4.1.x
If you are using an earlier version, please view the previous versions of the Confluence documentation and select the relevant version.
Skip to end of metadata
Go to start of metadata

The Create Space Button macro renders a create space icon that links to the 'Create Space' page. The icon appears as rendered below.

Screenshot: The Create Space Button in Confluence

(warning) To display this icon, you require 'Create Space' permission which is assigned by a site administrator from the Administration Console. See Security or contact your site administrator for more information.

Using the Create Space Button Macro

To add the Create Space Button macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Parameters

When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.

Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.

Parameter

Default

Description

Icon Size

large

Specify whether to use large or small icon:

  • large
  • small

Related Topics

Setting up a New Global Space
Working with Macros

Take me back to the Confluence User's Guide.

Labels:
  1. Mar 04, 2010

    The default for size is large, not small.

    I'd like to know how you put text next to this icon that will disappear when the user does not have space creation privs.  The Dashboard does this somehow.  How do I look at the wiki source for the dashboard?

    1. Mar 12, 2010

      Hi Todd,

      Thanks for letting us know the mistake, I have corrected it. I have actually created a user macro that does exactly what the create space button does in the Dashboard. In order to create a new user macro:

      1. Go to Dashboard > Administration > User Macros
      2. Click Create a User Macro.
      3. Name your user macro anything that you want. eg: createspace
      4. Untick "Macro has a body"
      5. Change Output to "Macro generates HTML markup"
      6. In the Template, copy and paste the following:
      7. Once you are done with that, you can simply use this macro anywhere in your page by specifying the following in your wiki markup:

      Feel free to change the code. Hope this helps.

      Cheers
      JSashi