Create Page

Basic Use

  • To create a link that creates a page as a child of the current page
{create-page}Create a new page{create-page}

Create a new page

  • After a user clicks on the link, he/she can specify the title of the page

Create Page Options

  • parent - you can specify what page you want the newly created page to be attached to (e.g. 'parent=Home' - default is the current page)
  • space - you can specify in which space the parent page is (e.g. 'space=About' - default is current space)
  • template - you can specify which template you want to be copied into the new page
  • prefix/postfix - you can designate a mandatory prefix or suffix be added to the new page's name (in order to create a naming style for organization)
  • addspace - if you do not want any spaces between the specified prefix/suffix and the given page name, you must type in 'addspace=false' (the default will add spaces)
  • prompt - you can customize the prompt the user is shown when a user clicks on the link (e.g. 'prompt=Pick a Page Title!')

Create Page Examples

  • Using the space parameter in combination with the parent you may specify any page in any space as the parent page:
    {create-page:parent=Home|space=Tips}Click Here to Create a Child Page of the Home Page in the Wiki Tips Space{create-page}
  • Categorize pages, such as adding 'Doc:' to the front of the new page's title:
    {create-page:prefix=Doc}Click Here{create-page}

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact