This procedure can be used to configure any sort of Web template, be it a master page, a sub-page, or a code block used within the page.
Do not select an existing template category or template and simply change the category name and then save; doing so will move the existing template to your new category -- it will not create a copy.
Enter a category that will serve as the directory name for your template.
Enter the name of the template.
Paste code copied from a template you created yourself or from one of the WCM demo templates.
Click Save to save the template. Your new template will be added to the template directory specified in Category.