Create Space Button Macro

Add the Create Space Button macro to a page to provide a quick, visual prompt to create a space in Confluence. The Create Space Button provided by the macro is only be visible to people who have the who have the Create Space global permission.  

This is a legacy macro and was primarily used before you could create a space directly from the Spaces dropdown in the header.  However, it might be useful when documenting a procedure that requires creating a space, for example a set-up guide for new teams. 

On this page:

Screenshot: page showing the Create Space Button macro.


Add this macro to your page

To add the Create Space Button macro to a page:

  1. Unable to render {include} The included page could not be found.
  2. Choose Create Space Button from the Confluence content category.
  3. Choose Insert

You can then publish your page to see the macro in action. 

Change the macro parameters

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

Here's a list of the parameters available in this macro. 

Parameter

Default

Description

Icon Size
size 

large

Specify whether to use large or small icon. Available values:

  • large
  • small

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

Other ways to add this macro

Add this macro as you type

Unable to render {include} The included page could not be found.

Add this macro using wiki markup

Unable to render {include} The included page could not be found.

Macro name: create-space-button

Macro body: None.

{create-space-button:size=small}
{create-space-button:height=50px|width=50px}

The following additional parameters are available in wiki markup.

See all parameters...
Parameter nameRequiredDefaultParameter description and accepted values
widthNo

Natural size of icon

(1:1 pixel ratio)

The width of the icon to be displayed, specified in pixels. Confluence will stretch or shrink the width of the icon to the number of pixels specified.

Note: This parameter is not available via the macro browser.

heightNo

Natural size of icon

(1:1 pixel ratio)

The height of the icon to be displayed, specified in pixels. Confluence will stretch or shrink the height of the icon to the number of pixels specified.

Note: This parameter is not available via the macro browser.



Last modified on May 20, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.