Pass a variable to the template.