Show/Hide Toolbars

A text template consist of normal text and specially designated markup elements. There are two types of markup that can be included in a template: Output markups and Tag markups. These markup elements will be processed by the template engine. Output markups will produce some text, tag markups are used for additional functionality like conditional output, looping through collections  etc.

Dear {% if user.Gender == 'male' %}Mr.{% elsif user.gender == 'female' %}Mrs.{% endif %} {{user.last_name},

Thanks for using {{productname}}!

Listing 1: An exemplary Text Template

Creted by {%if CurrentUser.Gender == 'Male'%}Mr.{%else%}Mrs.{% endif %} {{CurrentUser.FirstName}} {{CurrentUser.LastName | capitalize}} on {{CurrentDateTime | cdate: "dddd dd.mm.yyyy", "bn-BD"}}

Listing 2: A text template as it might be used for the footer line of a chart presentation

 

 

© 2021 AFRY Austria GmbH, www.redbex.com