templates for epiquery