Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

HTML Template Fragments

This topic identifies each of the HTML Template fragments available through the HTML and CSS Style Editor, and defines the fields of each fragment.

Section

Fields

Body - Diagram

  • #AUTHOR# - Diagram author
  • #CREATEDATE# - Diagram created date
  • #CSS# - Style Sheet to use
  • #GUID# - Diagram GUID
  • #IMAGE# - Image of the diagram
  • #IMAGES# - Image path
  • #LOCKED# - Is the diagram locked (true or false)
  • #MODDATE# - Diagram modified date
  • #NAME# - Diagram name
  • #NOTE# - Diagram notes
  • #STEREOTYPE# - Diagram stereotype
  • #TITLE# - Diagram title
  • #TYPE# - Diagram type
  • #VERSION# - Diagram version.
     

Body – Object

  • #ABSTRACT# - Element abstract (if true, = abstract)
  • #ACTIVE# - Element isActive (true or false)
  • #ALIAS# - Element alias ("#ALIAS#")
  • #AUTHOR# - Element author
  • #BEHAVIOR# - Returns the object behavior.
  • #CLASSIFIER# - Element classifier
  • #COMPLEXITY# - Element complexity
  • #CREATEDATE# - Element created date
  • #CSS# - Style Sheet to use
  • #DIAGRAMS# - List of diagrams the element is on
  • #GUID# - Element GUID
  • #IMAGES# - Image path
  • #KEYWORDS# - Element keywords
  • #LEAF# - Element isLeaf (true or false)
  • #LEVELNUMBER# - Element level number
  • #MODDATE# - Element modified date
  • #MULTIPLICITY# - Element multiplicity ("Multiplicity: #MULTIPLICITY#")
  • #NAME# - Element name
  • #NOTE# - Element notes
  • #PHASE# - Element phase
  • #ROOT# - Element isRoot (true or false)
  • #SCOPE# - Element scope
  • #STATUS# - Element status
  • #STEREOTYPE# - Element stereotype(s)
  • #TYPE# - Element type; for example, Class, Object
  • #VERSION# - Element version.
     

Body – Project Glossary

  • #CONTENT# - Loops Content – Project Glossary Item for each Project Glossary item.
     

Body – Project Issues

  • #CONTENT# - Loops Content – Project Issue Item for each Project Issue item.
     

Body – Project Tasks

  • #CONTENT# - Loops Content – Project Task Item for each Project Task item.
     

Content – Attributes

  • #CONTENT# - Loops Content – Attributes Item for each attribute on an element.
     

Content – Attributes Item

  • #ALIAS# - Attribute alias ("<i>Alias:</i> #ALIAS#<br>")
  • #CONST# - Attribute is constant value ("const " <-- Note Space)
  • #CONSTRAINT# - Attribute constraint
  • #DEFAULT# - Attribute default value ("<i>Initial:</i> #DEFAULT<br>")
  • #NAME# - Attribute name
  • #NOTE# - Attribute notes
  • #ORDERED# - Attribute Is ordered value ("Ordered <br />")
  • #RANGE# - If lower != 1 ("Range:<lower> to <upper>")
  • #SCOPE# - Attribute scope ("#SCOPE# " <-- Note space)
  • #STATIC# - Attribute is static value (“static ” <-- Note Space)
  • #STEREOTYPE# - Attribute stereotype(s)
  • #TAGS# - Attribute tags ("Property Name=Property Value<br>")
  • #TYPE# - Attribute type (if Column, “#TYPE(Column Precision, Scale)").
     

Content – Constraints

  • #CONTENT# - Loops Content – Constraints Item for each constraint on an element.
     

Content – Constraints Item

  • #CONSTRAINT# - Constraint name
  • #NOTES# - Constraint notes
  • #STATUS# - Constraint status
  • #TYPE# - Constraint type.
     

Content – Custom Properties

  • #CONTENT# - List of all Content – Custom Properties - Item.

Content – Custom Properties - Item

  • #PROPERTY# - Custom property name
  • #VALUE# - Custom property value

                  ( if type equal boolean

                          true or false

                    else

                            #VALUE#).
 

Content – Files

  • #CONTENT# - List of Content - Files Item.
     

Content – Files Item

  • #DATE# - File date
  • #NAME# - File filename (<a href=”#FILENAME#”</a>)
  • #NOTES - File notes
  • #SIZE# - File size
  • #TYPE# - File type.
     

Content – Notes

  • #VALUE#>- Notes Text.
     

Content – Operations

  • #CONTENT# - List of Content - Operations Item.
     

Content – Operations Item

  • #ABSTRACT# - Operation abstract (abstract)
  • #ALIAS# - Operation alias (“<i>Alias:</i> #ALIAS#<br>”)
  • #CONCURRENCY# - Operation concurrency (blank if not set)
  • #CONST# - Operation constant (const)
  • #CONSTRAINTS# - List of Method Constraint
  • #ISQUERY# - Operation IsQuery (isQuery)
  • #NAME# - Operation name
  • #NOTE# - Operation notes.
  • #PARAMS# - List of Content – Operations Item Parameters
  • #SCOPE# - Operation Scope
  • #STATIC# - Operation IsStatic (static)
  • #STEREOTYPE# - Operation stereotype
  • #TAGLABEL# - static text (Tags)
  • #TAGS# - Attribute tags ("Property Name=Property Value<br>")
  • #TYPE# - Operation type.
     

Content – Operations Item Parameters

  • #DEFAULT# - Op Parameter default
  • #GUID# - Op Parameter GUID
  • #KIND# - Op Parameter kind
  • #NAME# - Op Parameter name
  • #NOTES# - Op Parameter notes
  • #STEREOTYPE# - Op Parameter stereotype
  • #TYPE# - Op Parameter type.
     

Content – Project Glossary Item

  • #MEANING# - Glossary Meaning
  • #TERM# - Glossary Term
  • #TYPE# - Glossary Type.
     

Content – Project Issues Item

  • #DATERESOLVED# - Project Issue resolved date (blank if no date entered)
  • #ISSUE# - Project Issue name
  • #ISSUEDATE# - Project Issue issue date
  • #NOTES# - Project Issue notes
  • #OWNER# - Project Issue owner
  • #RESOLUTION# - Project Issue resolution
  • #RESOLVER# - Project Issue resolver
  • #STATUS# - Project Issue status.
     

Content – Project Tasks Item

  • #ENDDATE# - Project Task end date
  • #NAME# - Project Task name
  • #NOTES# - Project Task notes
  • #OWNER# - Project Task owner
  • #PHASE# - Project Task phase
  • #PRIORITY# - Project Task priority
  • #STARTDATE# - Project Task start date
  • #STATUS# - Project Task status
  • #TYPE# - Project Task type.
     

Content – Resource Allocation

  • #CONTENT# - List of Content – Resource Allocation Item.
     

Content – Resource Allocation Item

  • #ACTUAL# - Resource actual time
  • #ENDDATE# - Resource end date
  • #EXPECTED# - Resource expected date
  • #NOTES# - Resource notes
  • #PERCENT# - Resource percent complete
  • #RESOURCE# - Resource name
  • #ROLE# - Resource role
  • #STARTDATE# - Resource start date
  • #TIME# - Resource time.
     

CSS – Main

  • None.
     

CSS – ToC

  • None.
     

Feature Notes

  • #FIELD#
  • #VALUE#.
     

Javascript

  • None.
     

Link (Association)

  • #CONTENT#
  • #DIAGRAMS# - List of diagrams the link is on.
     

Linked Document

  • #LINKDOC# - Linked Document.
     

Linked Requirement

  • #CONTENT# - List of Linked Requirement Item.
     

Linked Requirement Item

  • #DIFF# - Linked Requirement difficulty
  • #NAME# - Linked Requirement name
  • #PRIORITY# - Linked Requirement priority
  • #STATUS# - Linked Requirement status.
     

Linked Section

  • #ITEMS#
  • #TITLE#.
     

Link Line Item

  • #CONNECTION# - Connector type
  • #IMAGE# - The file path of the images
  • #LINK# - (<a href= "path to element"> "Connection Name" </a>)
  • #NOTES# - The connector notes
  • #NUMBER# - A unique number used to identify div elements
  • #SOURCEROLE# - Source role
  • #SOURCEROLENOTES# - Source role notes
  • #STEREOTYPE# - Connector stereotype
  • #TARGETROLE# - Target role
  • #TARGETROLENOTES# Target role notes
  • #TYPE# - Connector type.
     

Maintenance

  • #CONTENT# - List of Maintenance Line Item.
     

Maintenance Line Item

  • #DATEREPORTED# - Maintenance date reported
  • #DATERESOLVED# - Maintenance date resolved
  • #IMAGE# - The file path of the images
  • #NOTES# - Maintenance notes
  • #NUMBER# - A unique number used to identify div elements
  • #PRIORITY# - Maintenance priority
  • #PROBLEM# - Maintenance name
  • #REPORTEDBY# - Maintenance reported by
  • #RESOLVEDBY# - Maintenance resolved by
  • #RESOLVERNOTES# - Maintenance resolved notes
  • #STATUS# - Maintenance status
  • #TYPE# - Maintenance type
  • #VERSION# - Maintenance version.
     

Message

(Applies only to Sequence messages.)

  • #CONTENT# - Loops the Message Item for each attribute on an element
  • #DIRECTION# - Contains the value To or From.
     

Message Item

  • #KIND# - The Message Kind field
  • #MESSAGE# - Connector Message
  • #NAME# - Name of the Message (<a href="<path>">#NAME#)
    If Message has a classifier: #NAME#="#NAME# :Classifier"
  • #NOTES# - The Message notes (<strong>Type:</strong> #Item Type#<br /> #NOTES#)
  • #SYNCH# - The Message Synch field
  • #TYPE# - The type of Message.
     

Method Constraint

  • #NAME# - Method Constraint name
  • #NOTES# - Method Constraint notes
  • #TYPE# - Method Constraint type.
     

Object Requirement

  • #CONTENT# - List of Object Requirement Item.

Object Requirement Item

  • #DIFF# - Requirement difficulty
  • #NAME# - Requirement name
  • #NOTES# - Requirement notes
  • #PRIORITY# - Requirement priority
  • #STABILITY# - Requirement stability
  • #STATUS# - Requirement status
  • #TYPE# - Requirement type.
     

Package Content

  • #CONTENT# - List of Package Content Row.
     

Package Content Row

  • #NAME# - Link to Package (<a href="#Link to file#">#Package name#</a>)
  • #TYPE# - Link to Image (<img src="#path to image#">).
     

Page - Basic template

  • #CONTENT# - Contains Body - Diagram through to Body - Object
  • #TITLE# - Current package name.
     

Page - Index

  • #CSS# - Style Sheet to use
  • #HOME# - A link to the Start page
  • #JS# - Javascript to use
  • #TITLE# - Current package name
  • #TOC# - To be established.
     

Page - ToC

  • None.
     

Scenario

  • #CONTENT# - List of Scenario Item
  • #EXCEPTIONS# - List of Structured Scenario exceptions
  • #STRUCTURED# - List of Structured Scenarios.
     

Scenario Item

  • #IMAGE# - The file path of the images
  • #NOTES# - Scenario notes
  • #NUMBER# - A unique number used to identify div elements
  • #SCENARIO# - Scenario name
  • #TYPE# - Scenario type.
     

Scenario Exception

  • #CONTENT# - Loops Scenario Exception Item for each exception.
     

Scenario Exception Item

  • #NAME# - Exception name
  • #STEPNO# - Exception step number
  • #TYPE# - Exception Type.
     

Scenario Structured

  • #CONTENT# - Loops Scenario Structured Items for each Structured Scenario item.
     

Scenario Structured Items

  • #ACTION# - Name of the scenario
  • #STEPNO# - Scenario step number
  • #RESULT# - Step result value
  • #USES# - Step uses value
  • #STATE# - Step state value.
     

Tagged Value

  • #CONTENT# - List of Tagged Value Line Item.
     

Tagged Value Line Item

  • #IMAGE# - The file path of the images
  • #NOTES# - Tagged Value notes
  • #NUMBER# - A unique number used to identify div elements
  • #PROPERTY# - Tagged Value name
  • #VALUE# - Tagged Value if type is boolean (value is true or false).
     

Test Cases

  • #CONTENT# - List of Test Cases Line Item.
     

Test Cases Line Item

  • #ACCEPTANCE# - Test case acceptance notes
  • #CHECKEDBY# - Test case checked by
  • #CLASS# - Test case class (Unit, Integration, System, Acceptance, Scenario)
  • #IMAGE# - The file path of the images
  • #INPUT# - Test case input notes
  • #NOTES# - Test case notes
  • #NUMBER# - A unique number used to identify div elements
  • #RESULTS# - Test case result notes
  • #RUNBY# - Test case run by
  • #RUNDATE# - Test case last run
  • #STATUS# - Test case status
  • #TEST# - Test case name
  • #TYPE# - Test case type.