add-page
Macro Code
Code Block |
---|
{add-page:template=TEMPLATE NAME|parent=<at:var at:name="self," />parent,@home,PAGE NAME} Link to add Page Text {add-page} |
Parameters
Name | Required | Default | Description |
---|---|---|---|
template |
| N/A | Name of the template to use when creating a new page |
parent |
| @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:
|
Result
add-page-form
Macro
Code Block |
---|
{add-page-form:template=TEMPLATE NAME|parent=<at:var at:name="self," />parent,@home,PAGE NAME}Add new page button text{add-page-form} |
Parameters
Name | Required | Default | Description |
---|---|---|---|
template |
| N/A | Name of the template to use when creating a new page |
parent |
| @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:
|
nameWidth |
| N/A | If set, this specifies the width of the name text field. |