This article explains how vhost templates can be used: https://wiki.centos-webpanel.com/webservers-vhost-templates
but does not say what variables can be used in the templates. I've found variables such as %domain_idn% and %user% but no clue as to where all variable are listed (or defined)