Adobe Dreamweaver CC 2015 Manuel d'utilisateur Page 503

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 700
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 502
496
Tem pl at es
Last updated 6/3/2015
Template syntax
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.
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:
<!-- TemplateBeginEditable name="..." -->
<!-- TemplateEndEditable -->
<!-- TemplateParam name="..." type="..." value="..." -->
<!-- TemplateBeginRepeat name="..." -->
<!-- TemplateEndRepeat -->
<!-- TemplateBeginIf cond="..." -->
<!-- TemplateEndIf -->
<!-- TemplateBeginPassthroughIf cond="..." -->
<!-- TemplateEndPassthroughIf -->
<!-- TemplateBeginMultipleIf -->
<!-- TemplateEndMultipleIf -->
<!-- TemplateBeginPassthroughMultipleIf -->
<!-- TemplateEndPassthroughMultipleIf -->
<!-- TemplateBeginIfClause cond="..." -->
<!-- TemplateEndIfClause -->
<!-- TemplateBeginPassthroughIfClause cond="..." -->
<!-- TemplateEndPassthroughIfClause -->
<!-- TemplateExpr expr="..." --> (equivalent to @@...@@)
<!-- TemplatePassthroughExpr expr="..." -->
<!-- TemplateInfo codeOutsideHTMLIsLocked="..." -->
Instance tags
Dreamweaver uses the following instance tags:
Vue de la page 502
1 2 ... 498 499 500 501 502 503 504 505 506 507 508 ... 699 700

Commentaires sur ces manuels

Pas de commentaire