# Templates

The Nexuiz demo recorder offers you templates that you can use to create new jobs (which are based on a template) more quickly and efficiently. Imagine these "templates" didn't exist ... you would always have to specify the complete path to the engine, the video file, the demo file, and the final video file – each single time when creating a job, from scratch. This would take a long time and would be inefficient.

Instead you are encouraged to create templates. Templates can be created either from scratch (click on the + Create button next to the template table) or from an existing job (select the job, then click on the button Create from job).

The latter will just add a new entry in the templates table, without prompting you for any further information. The template's name and summary will be "Generated from job", and you can change this by double-clicking this generated template, renaming it and giving it a meaningful summary, then click save. You will notice that all other values have been taken from the job and don't need to be filled out by you anymore.

Here you can see the template dialog when creating a new template:

The dialog looks very much alike the "create job" dialog presented to you in the Basic tutorial. There are a few differences, however:

- The dialog shows you a template name and description

- Instead of specifying a demo file you are now specifying a demo directory

- Instead of specifying a video destination file, you now just specify the directory

- You don't specify a start time or end time for templates, because these 2 input parameters are specific for each job and don't make sense to be saved for a template

Once you have a template you can create new jobs easily by selecting a template in the templates table and then click on the Create from template button in the jobs panel.

## What could templates also be good for?

- Using different configs for recording (you can set a config to be used either in the “engine parameters” field, e.g. +exec myconfig.cfg, or you could put the exec myconfig.cfg into the “exec before” field.

- Recording with different Nexuiz engines to compare the visual quality

- Inspire me … what do you use templates for? Post it to the forum!