Advanced Template Editor Functions

Variable Syntax

SILQ Variables have a very specific format so that when the template is processed SILQ can recognise exactly what to do with it. Below is the definition of how variables should look.

<vartype:varname[:varformattype[:varformatextra]]>

vartype: This variable type directs the template system as to what sort of action it should take in this instance, as per the list of variable types below.

varname: This is the name of the value that the action is to act on.
varformattype [optional]: this indicates how the value should be formatted, as per the

Format Types below

varformatextra [optional]: this is extra information about how the variable should be formatted., as per the Format Types below

Variable Name

When using the I, E, N, PE, or PN variable types, this is the name of the variable as set in the merge field list, that will be used as the source of data for the operation.
If you are using a multi field, it indicates which database it is to iterate through. A full list of these can be found in the template editor.

Examples
<i:i-date:d:18>
This will insert the "i-date" field (which is invoice's date value), and then

format it as a date, using the 18th date format (which is the windows long date format) <i:i-date> This will insert the i-date field and use the default formatting for that field

<multi:invoice:date> Iterate through the invoices for the selected matter and order it by the invoice date.