To develop and use templates on a site, the templates module must be enabled for the site in the Control Panel. For more information, see Enabling and disabling templates for a site.
If you're not already familiar with templates and how to create them in the Control Panel, see Templates.
You can develop templates in a workspace:
To create a template in a workspace:
Click the quick menu button for Templates, and select Create template.
When you add an existing template from production to a workspace, the Control Panel creates a duplicate of the template and places the duplicate in the workspace. In production, the original template remains unaffected, and modifications that use that template continue to work as before. Editing the workspace template does not affect the original production template or the live content of the site.
To access the original production template for a workspace template, click Original ID: <ID> in the templates list.
When you publish the workspace, the production template is overwritten with the workspace template, unless you rename the latter before publication, in which case the publication creates a new template in production. (Templates must have unique names.)
To add existing templates to a workspace:
Click the quick menu button for Templates, and select Add existing templates.
Select the templates you want to add to the workspace, and click Add. You can filter the templates by typing a template ID or name in the search field.
To edit a template:
Removing a template from a workspace deletes that template. Any edits you've made to the template in the workspace are lost. If the template is based on an existing template in production, the original template is not affected in any way.
To remove a template from a workspace:
In the templates list, click the quick menu button for the template you want to remove, and select Remove.