Operation Manual
395
USING DREAMWEAVER
Creating and managing templates
Last updated 3/28/2012
• Click the Minus (–) button to delete the selected repeating region entry.
• Click the Down Arrow button to move the selected entry down one position.
• Click the Up Arrow button to move the selected entry up one position.
Note: Alternatively, you can select Modify > Template, then select one of the repeating entry options near the bottom of
the context menu. You can use this menu to insert a new repeating entry or move the selected entry’s position.
Cut, copy, and delete entries
1 Open the template-based document.
2 Place the insertion point in the repeating region to select it.
3 Do one of the following:
• To cut a repeating entry, select Edit > Repeating Entries > Cut Repeating Entries.
• To copy a repeating entry, select Edit > Repeating Entries > Copy Repeating Entries.
• To remove a repeating entry, select Edit > Repeating Entries > Delete Repeating Entries.
• To paste a repeating entry, select Edit > Paste.
Note: Pasting inserts a new entry; it does not replace an existing entry.
Template syntax
General syntax rules
Dreamweaver uses HTML comment tags to specify regions in templates and template-based documents, so template-
based documents are still valid HTML files. When you insert a template object, template tags are inserted in the code.
General syntax rules are as follows:
• 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.
Template tags
Dreamweaver uses the following template tags: