This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.
This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

Creating a Page using a Template

All Versions
Click for all versions
Confluence 2.10 Documentation

Index

Confluence allows you to create a page based on a global template (available to all spaces) or a space template (available only to that space). This page is intended for users who have already created a template.

Labels are copied from template

If the template contains labels, the template labels will automatically be included in the new page created from that template.

To create a page from an existing template

  1. Click the 'Add Page' link located beside each space on the dashboard or at the top of every page in Confluence.

  2. Click the link 'Select a page template' located above the text-entry box.
    This is only displayed if there are any templates defined. If you do not see this link, then there are currently no templates defined and an administrator will have to create one before you can use it.

    Clicking this link will display a list of the templates that are available in the current space.

  3. Select a template and click 'Next'. This will display one of the following:
    • A new page based on the template, if the template does not contain a form.
    • The 'Template Variables' page where you can supply values for the variables, if the template contains a form.
  4. If the template uses a form, enter the appropriate values into the form fields and click the 'Insert Variables' button. This will display a new page based on the template and including the variable values you have entered.
  5. Replace the words 'New Page' with the name of the page.
  6. Add more content or make further changes as required.
  7. Click the 'Save' button.

Screenshot : Choose a template

Screenshot : Fill out the form

Screenshot : Resulting page

RELATED TOPICS

Adding a Template
Editing a template
Removing a Template
Form Field Markup for Templates
Browsing a space

Take me back to Confluence User Guide

Labels

template-related template-related Delete
templates templates Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Apr 04, 2006

    Martin Cleaver says:

    How do I add a label to pages made from the template? I want every page to have...

    How do I add a label to pages made from the template?

    I want every page to have a certain label.

    Thanks

    1. Jul 10, 2006

      Matt Ryall (Atlassian) says:

      Adaptavist have a plugin that lets you do just that: http://www.adaptavist.com/...

      Adaptavist have a plugin that lets you do just that:

      http://www.adaptavist.com/display/USERGUIDE/add-label+macro

  2. May 15, 2006

    Marianne Vanhauwaert says:

    Can I use templates from other spaces to create a page? Thanks, Marianne

    Can I use templates from other spaces to create a page?

    Thanks,

    Marianne

    1. Jul 10, 2006

      Matt Ryall (Atlassian) says:

      Unfortunately, this isn't possible in Confluence at the moment. If you need this...

      Unfortunately, this isn't possible in Confluence at the moment. If you need this functionality frequently, you could raise a feature request in JIRA.

      1. Oct 23, 2006

        David Aldrich says:

        We need this functionality. I have created an improvement request in JIRA. ...

        We need this functionality. I have created an improvement request in JIRA. Please vote for it if you are interested.

        1. Oct 23, 2006

          David Aldrich says:

          Sorry, I omitted the link to the issue, its CONF-7200.

          Sorry, I omitted the link to the issue, its CONF-7200.

  3. Aug 07, 2006

    Matt Zukowski says:

    Is it possible to link directly to a template? i.e. when the user clicks on the ...

    Is it possible to link directly to a template? i.e. when the user clicks on the link, they should be taken directly to the template form so that they can start creating the page using the template...

    1. Aug 07, 2006

      Guy Fraser says:

      Yes - use the Create Page macro: http://www.adaptavist.com/display/USERGUIDE/cr...

      Yes - use the Create Page macro:

      http://www.adaptavist.com/display/USERGUIDE/create-page+macro

      A recent release adds full support for standard Confluence templates - see Create Page Macro

  4. Aug 21, 2006

    Mike Grady says:

    I'd like to create a template that has a list of values for a Wiki page link, or...

    I'd like to create a template that has a list of values for a Wiki page link, or text entry box for such. The template form does not seem to recognize a syntax like:
    [@DIVISION|list(ClassTech,CommTech,CSS)] or
    [@STAFF]
    Is there a way to do this in a template? (The list works fine if I remove the link [] on either side, but I want the pages created with the template to be linked to one of the DIVISION pages. So that when I go to a particular page for a DIVISION, the Info tab "links" section shows all the pages created related to that DIVISION. Is there another way to accomplish this?)

  5. Sep 12, 2006

    Stefan says:

    Is there a way to assign the page name of an new article within a template?

    Is there a way to assign the page name of an new article within a template?

    1. Sep 13, 2006

      Peter R. says:

      I have this same request, I'd like to see if a template can drop in a default pa...

      I have this same request, I'd like to see if a template can drop in a default page title/name when used from the Create Page macro. Ideally it would be a standard name follwed by some unique identifier, like a date/time stampe.

      1. Nov 16, 2006

        Jörg Albrecht says:

        Same Request from my side.

        Same Request from my side.

        1. Sep 11, 2007

          Robert Tosch says:

          I want to create pages with generic page titles, too. I need a standard na...

          I want to create pages with generic page titles, too.

          I need a standard name followed by some unique identifier.

          Are there any possibilities already?

      2. Sep 11, 2007

        David Peterson [CustomWare] says:

        It doesn't just drop in from a template, but you can use the {link-page} macro f...

        It doesn't just drop in from a template, but you can use the {link-page} macro from the Linking Plugin. Eg:

        {link-page:name=My Prefix - %global:current date > dd-MMM-yyyy%|template=My Template}Today's Page{link-page}
        

        You can use any valid Suppliers (ala the Reporting Plugin) between the %...% values.

  6. Feb 22, 2007

    Tom J says:

    I create a page using the option "select a page template to start from". In the ...

    I create a page using the option "select a page template to start from". In the template, I want to make an attachment appear such that, whenever any user uses this template, the attachment also appears in the final page.

    For e.g., say the template provides an attachment, "readme.doc" in its contents, something like:

    [Readme|^Readme.doc]]

    Whenever the final page is created, every user using the template should be able to click on the "readme.doc" to open and read it contents.

    Is the above possible? I tried this but I am unsuccessful. The final page does not show the link properly.

  7. Jun 13, 2007

    Garnet R. Chaney says:

    When creating a link on page A that links to a new page, a page that I want some...

    When creating a link on page A that links to a new page, a page that I want someone else to create using a template, allow me to specify the template to use in the link from page A.

    I suggest this format:

    * [new page from template|Page name|template=Template Name To Use]
    
    1. Jun 13, 2007

      Peter R. says:

      You can do this today using the Linking Plug-in from CustomWare, an Atlassian pa...

      You can do this today using the Linking Plug-in from CustomWare, an Atlassian partner. This example creates a child page of the page and uses the template "TEMPLATENAME":

      {link-page:parent=@self|template=TEMPLATENAME}
      

      Hope this helps.

      Peter

  8. Nov 19, 2007

    Anonymous says:

    Is there a way to create multiple pages from a single "add" action? Pages would ...

    Is there a way to create multiple pages from a single "add" action? Pages would use the same "@" variables and have a pre-defined hierarchy.

    1. Nov 19, 2007

      James Mortimer says:

      This would be a great suggestion for an extension to the add-page or create-page...

      This would be a great suggestion for an extension to the add-page or create-page macros.

    2. Feb 04, 2008

      Anonymous says:

      This definitely would be a great feature!

      This definitely would be a great feature!

  9. Feb 06, 2008

    Erik Remley says:

    On step 2: Filling Template Variables, is there a way to require a variable be p...

    On step 2: Filling Template Variables, is there a way to require a variable be populated before selecting the "Insert Variables" button and creating the new page?

    1. Feb 06, 2008

      David Peterson [CustomWare] says:

      Not with the built-in variables, but you can definitely do it using Scaffolding.

      Not with the built-in variables, but you can definitely do it using Scaffolding.

  10. Feb 06, 2008

    Anonymous says:

    When creating a page from a template, and a field on the page is  (NAME), ...

    When creating a page from a template, and a field on the page is  (NAME),

    I would appreciate the capability to have the new  Page be automagically named:  "Some Static Text -  (NAME)

    If this is already possible, apologies for not reading all of the manual! 

    1. Feb 06, 2008

      Anonymous says:

      2nd try, with escapes and Preview: When creating a page from a template, and a...

      2nd try, with escapes and Preview:

      When creating a page from a template, and a field on the page is @NAME@,

      I would appreciate the capability to have the new Page be automagically named: "Some Static Text - UserEnteredNAMEValue

      If this is already possible, apologies for not reading all of the manual!

      1. Feb 06, 2008

        David Peterson [CustomWare] says:

        I don't think this is possible presently, even using Scaffolding or Linking. The...

        I don't think this is possible presently, even using Scaffolding or Linking. The closest you'll get is using the add-page macro from the Linking Plugin.

        1. Feb 07, 2008

          Anonymous says:

          OK.  Pouting nearly over..Done. Well, I am trying to make easy-to-get-righ...

          OK.  Pouting nearly over..Done.

          Well, I am trying to make easy-to-get-right page creation of a standard form for folks not likely to be strong wiki users.  Do I have a means to include instructions that will be visible to a user filling out a template, but will not become part of the saved page?  E.g.:  Step 2:  Name your new page:  "Product Spec - " followed by the name of the product.?

          P.s. A Documentum adapter would be a fantastic reuse of the recently acquired / practiced skills and would hook two enterprise grade best-in-class tools together.. Please don't say you have a non-compete agreement with another large "document management" vendor!

          1. Feb 07, 2008

            Peter R. says:

            The extensions section on this site does, I think, exactly what you're looking f...

            The extensions section on this site does, I think, exactly what you're looking for. Look at what happens when you go to http://confluence.atlassian.com/pages/createpage-entervariables.action?spaceKey=CONFEXT&fromPageId=164605&templateId=18 and see if that isn't along the lines of what you're thinking...

            I should mention that I have no idea how they did it and that the link above is from the Plugin Index page.

          2. Feb 07, 2008

            Anonymous says:

            This will probably sound really salesy but TSG has some open-source products tha...

            This will probably sound really salesy but TSG has some open-source products that might help you connect this to Documentum. I had the link to this thread pop up in a Google alert so I'm not a registered poster and you can feel free to disregard this post if you like. You might find the Open Content web service or Active Wizard form products useful. you can get more info on them and download the code at www.tsgrp.com

  11. Feb 08, 2008

    Erik Remley says:

    Is there a way, based on the variables predefined, to set one of them up to be t...

    Is there a way, based on the variables predefined, to set one of them up to be the name of the page that will be created?I want our users to be able to fill out all of the needed information on the template and then review the page for submission.Right now they have to enter the new page name when reviewing. 
    Thanks

    Oops, just noticed new entery above that answers this question

    Sorry

  12. Feb 15, 2008

    Ellen Daleng says:

    None of our users are able to get the template variables inserted into the form ...

    None of our users are able to get the template variables inserted into the form using Internet Explorer 7.  Nothing happens when the button is pressed.  Firefox works ok.  Any idea what might cause this?

    1. Feb 18, 2008

      Choy Li Tham says: