{{property-style}}
The {{property-style}} tag is used to avoid defining style attributes on every {{property}} tag. The scope of the {{property-style}} tag is the mime message part in which it is placed (if the mime message is defined). The tag can be placed anywhere in the message, but we recommend placing it at the beginning of the mime part.
Attributes
style |
Optional: yes Permitted Values: text Comment: This is the default style. This attribute is only applicable in the HTML part of the message. In the plain text part, it is ignored. |
modified-style |
Optional: yes Permitted Values: text Comment: This the style used if the property value has changed from the previous revision of the item. This attribute is only applicable in the HTML part of the message. In the plain text part, it is ignored. |
modified-prefix |
Optional: yes Permitted Values: text Comment: This is the text that is placed in front of the de-referenced property value. This attribute impacts output in both the plain text and HTML formats of the message. |
Examples
The following template excerpt:
Status: {{property name="Status" style= "color:black" modified-style= "color:blue;font-weight:bold"}} <B>Synopsis: {{property name="Synopsis" style= "color:black" modified-style= "color:blue;font-weight:bold"}} <B>Responsibility: {{property name="Responsibility" style= "color:black" modifiedstyle= "color:blue;font-weight:bold"}} <B>
is equivalent to:
{{property-style style= "color:black" modified-style= "color:blue;fontweight:bold"}} Status: {{property name="Status"}} <B>Synopsis: {{property name="Synopsis"}} <B>Responsibility: {{property name="Responsibility"}} <B>