Server templates and scripting

i was wondering if there is a full list of availabe scrip commands for the server templates?
what i like to do is the following similiar to e. g.

Email domain: ${DOM}
SMTP server: mail.${DOM}
POP3 server: mail.${DOM}
Mail login: ${USER}
Mail password: ${PASS}


but for the weblizer section, i would like to add there the option if a stat dir. is password protected or not and then pass on the login/password, depending if the option is set or not.

Webalizer log reporting: Enabled
Web statistics: http://www.${DOM}/stats/
Webalizer log reporting: Disabled

any ideas?