2018.1

Table Of Contents
extension is determined by the selected output format.
The 0000 in ${template.nr,0000} is a format pattern that takes care
of formatting the number with at least four digits and leading zero's.
See "Formatting date and number values " on page1119, below.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template which
gets printed to PDF, then ${template} expands to My-Invoices-EN_
0001.pdf.
${template.base}
Returns the base name of the template, which is the name of the
template file without its path and without the trailing file extension.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.base} expands to My-Invoices-EN .
${template.name}
Returns the name of the template file without the path.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.name} expands to My-Invoices-EN.OL-template.
Note that ${template.name} still includes the extension of the
template file (.OL-template in the example above).
${template.nr}
An automatic sequence number belonging to the current output file.
It is automatically incremented for each new output file that gets
created when Separation has been selected in the Output Creation
preset.
It is possible to format the number using a pattern and locale. See
"Formatting date and number values " on page1119, below.
${template.ext}
The extension that corresponds to the chosen output format (in
lower case).
For example, for PDF output, ${template.ext} would be pdf, for
Page 1113