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.

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

${ENDIF-MAIL}

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.

${IF-WEBALIZER}
Webalizer log reporting: Enabled
Web statistics: http://www.${DOM}/stats/
${ELSE-WEBALIZER}
Webalizer log reporting: Disabled
${ENDIF-WEBALIZER}

any ideas?