# Templates Script Tease supports processing of template files using Jinja2. ## Location of Templates By default, the location of template files are reckoned as relative to the commands configuration file. ```text package_name/ |-- commands.ini |-- templates | `-- httpd.conf ``` Upon loading the `commands.ini` file, any reference to a template file is assumed to be in the `templates/` directory in the same location. !!! tip The `-T` switch of the `tease` command may be used to add template locations. ## Template Context The context variables available to parse the template are: - Variables received on the command line are included in the context. - Variables loaded from a file. - Options passed to the loader from the command line are also included. Additionally, any unrecognized parameters specified in the command are included in the context. For example: ```ini [create the httpd.conf file] template: httpd.conf /etc/apache/sites-available/example.com.conf ssl_enabled: yes ``` `ssl_enabled` is not a normal parameter for the template command, so it is included in the context.