beautypg.com

Recognizing templates and template-based documents, Recognizing templates in design view – Adobe Dreamweaver CC 2015 User Manual

Page 478

background image

471

Templates

Last updated 6/3/2015

The following is an example of the code you might enter in the head section of the template:

The following condition statement checks the value assigned to the Dept parameter. When the condition is true or
matches, the appropriate image is displayed.

When you create a template-based document, the template parameters are automatically passed to it. The template user
determines which image to display.

More Help topics

Managing assets and libraries

Creating a Dreamweaver template

Editing content in a template-baseddocument

Creating editable regions intemplates

Creating repeating regions in templates

Using optional regions in templates

Defining editable tag attributes in templates

Link to documents using the Point-To-File icon

Document-relative paths

Using optional regions in templates

Defining editable tag attributesin templates

Modify template properties

Recognizing templates and template-based documents

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

Recognizing templates in Design view

In Design view, editable regions appear in the Document window surrounded by rectangular outlines in a preset
highlight color. A small tab appears at the upper-left corner of each region, showing the name of the region.