When working with the templates, you have the option to choose a variable when defining parameters within a Template.
For fields with the Variables icon associated with it, click the icon and select Choose Template Variable and select the Choose Type and Choose Variable from the drop down list and click Select.Upon saving, variables are saved in Template configuration.