Macromedia dreamweaver 8-using dreamweaver Manuel D’Utilisation

Page de 1030
About Dreamweaver templates
301
Template tag syntax
This section describes the general syntax rules and lists the HTML comment tags 
Dreamweaver uses to specify regions in templates and template-based documents. 
Dreamweaver automatically inserts template tags in the code when you insert a template 
object. 
General syntax rules
Following are general syntax rules:
Wherever a space appears, you can substitute any amount of white space (spaces, tabs, line 
breaks). The white space is mandatory except at the very beginning or end of a comment.
Attributes can be given in any order. For example, in a TemplateParam, you can specify 
the type before the name.
Comment and attribute names are case sensitive.
All attributes must be in quotation marks. Single or double quotes can be used.
For information about checking your syntax, see 
“Checking template syntax” on page 329
.
Related topics
Template tags
Dreamweaver uses the following template tags:
<!-- TemplateBeginEditable name="..." --> 
<!-- TemplateEndEditable -->
<!-- TemplateParam name="..." type="..." value="..." -->
<!-- TemplateBeginRepeat name="..." --> 
<!-- TemplateEndRepeat -->
<!-- TemplateBeginIf cond="..." -->
<!-- TemplateEndIf -->
<!-- TemplateBeginPassthroughIf cond="..." -->
<!-- TemplateEndPassthroughIf -->
<!-- TemplateBeginMultipleIf -->
<!-- TemplateEndMultipleIf -->
NO
TE
Dreamweaver uses HTML comment tags to define template regions, so template-based 
documents are still valid HTML files.