Create a nested template – Adobe Dreamweaver CC 2015 User Manual
Page 493

486
Templates
Last updated 6/3/2015
When you add a new editable region in an editable region passed through to the nested template, the highlighting color
of the editable region changes to orange. Content you add outside the editable region, such as the graphic in the
editableColumn, is no longer editable in documents based on the nested template. The blue highlighted editable areas,
whether added in the nested template or passed through from the base template, remain editable in documents that are
based on the nested template. Template regions that do not contain an editable region pass through to template-based
documents as editable regions.
Create a nested template
Nested templates let you create variations of a base template. You can nest multiple templates to define increasingly
specific layouts.
By default, all editable template regions from the base template pass through the nested template to the document based
on the nested template. That means that if you create an editable region in a base template, then create a nested template,
the editable region appears in documents based on the nested template (if you did not insert any new template regions
in that region in the nested template).
Note: You can insert template markup inside an editable region so that it won’t pass through as an editable region in
documents based on the nested template. Such regions have an orange border instead of a blue border.
1
Create a document from the template on which you want to base the nested template by doing one of the following:
• In the Assets panel’s Templates category, right-click (Windows) or Control-click (Macintosh) the template you
want to create a new document from, then select New From Template from the context menu.
• Select File > New. In the New Document dialog box, select the Page from Template category, then select the site
that contains the template you want to use; in the Template list, double-click the template to create a new
document.