To control the format of your output, insert format options between the percent signs before the variable as follows:
%.format:variable%
Example Template:
The following template reformats the Name variable to uppercase and encloses it in double-quotes.
This file is generated for %.UQ:Name%. It has the form of a %.L:Color% %.L:Shape%.
Output:
This file is generated for "MYGADGET". It has the form of a red triangle.
For more information see Formatting options.