Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

add-page

...

Macro

...

Code

{
Code Block
}
{add-page:template=TEMPLATE NAME|parent=@self,@parent=<at:var at:name="self," />parent,@home,PAGE NAME} Link to add Page Text {add-page}
{code}

h4. Parameters
|| Name || Required || Default || Description ||
|| template | (x) | N/A | Name of the template to use when creating a new page |
|| parent | (x) | @self | The page you would like to be the parent of the new page. If no parent page is desired, set parent to a blank value. ie. 'parent='. Otherwise, set to 'Page Name' or 'SPACEKEY:Page Name'. There are also three special values:
* @self - sets the parent to the new page the macro appears in.
* @parent - sets the parent of the new page to the parent of the current page.
* @home - sets the parent of the new page to the home page of the current space.|

h4. Result

h2. add-page-form
h4. Macro
{code}

Parameters

Name

Required

Default

Description

template

(error)

N/A

Name of the template to use when creating a new page

parent

(error)

@self

The page you would like to be the parent of the new page. If no parent page is desired, set parent to a blank value. ie. 'parent='. Otherwise, set to 'Page Name' or 'SPACEKEY:Page Name'. There are also three special values:

  • @self - sets the parent to the new page the macro appears in.
  • @parent - sets the parent of the new page to the parent of the current page.
  • @home - sets the parent of the new page to the home page of the current space.

Result

add-page-form

Macro

Code Block
{add-page-form:template=TEMPLATE NAME|parent=@self,@parent=<at:var at:name="self," />parent,@home,PAGE NAME}Add new page button text{add-page-form}
{code}

h4. Parameters
|| Name || Required || Default || Description ||
|| template | (x) | N/A | Name of the template to use when creating a new page |
|| parent | (x) | @self | The page you would like to be the parent of the new page. If no parent page is desired, set parent to a blank value. ie. 'parent='. Otherwise, set to 'Page Name' or 'SPACEKEY:Page Name'. There are also three special values:
* @self - sets the parent to the new page the macro appears in.
* @parent - sets the parent of the new page to the parent of the current page.
* @home - sets the parent of the new page to the home page of the current space.|
|| nameWidth | (x) | N/A | If set, this specifies the width of the name text field. |

h4. Result
{add-page-form:template=test template|parent=@parent}Add new page button text{add-page-form}

Parameters

Name

Required

Default

Description

template

(error)

N/A

Name of the template to use when creating a new page

parent

(error)

@self

The page you would like to be the parent of the new page. If no parent page is desired, set parent to a blank value. ie. 'parent='. Otherwise, set to 'Page Name' or 'SPACEKEY:Page Name'. There are also three special values:

  • @self - sets the parent to the new page the macro appears in.
  • @parent - sets the parent of the new page to the parent of the current page.
  • @home - sets the parent of the new page to the home page of the current space.

nameWidth

(error)

N/A

If set, this specifies the width of the name text field.

Result