Considering Confluence Cloud?
Get the high-level details of Confluence Cloud and available features by plan.
This macro was intentionally excluded from the new editor and will be deprecated from the legacy editor soon. Read the announcement for more.
The Create Space Button macro displays a create space icon that links to the 'Create Space' page. To see this icon, viewers need the 'Create Space' permission which is assigned by a site administrator.
To add the Create Space Button macro:
When editing, select from the toolbar
Find the macro by name and select it
Configure it as needed
You can also type / on the page to bring up the same list you'd see by selecting from the toolbar. Continue typing the name of the macro to filter the list.
To edit the Create Space Button macro:
Select the macro placeholder.
Select the Edit icon to open the configuration panel.
Configure the parameters. Your changes are saved as you go.
Resume editing the page, and the panel closes.
You can also select the centered , medium-width , and full-width icons to adjust the width of some macros. Select the trashcan iconto remove the macro.
Parameters are options that you can set to control what and how content from the macro appears on the page.
If the parameter name used in Confluence Cloud storage format is different than the label used when inserting macros using the browser or the slash command, it will be listed below in brackets (example).
Parameter | Default | Description |
---|---|---|
Icon Size | large | Specify whether to use large or small icon. Available values:
|
Wiki markup is useful when you need to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.
Macro name: create-space-button
Macro body: None.
1
2
3
4
5
{create-space-button:size=small}
{create-space-button:height=50px|width=50px}
The following additional parameters are available in storage format and wiki markup.
Parameter name | Required | Default | Parameter description and accepted values |
---|---|---|---|
width | No | 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. |
height | No | 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. This parameter is not available via the macro browser. |
Was this helpful?