Template ${IF-SSL}…${ELSE-SSL}…${ENDIF-SSL}

I'd like to be able to add directives to the SSL VirtualHost or the non-SSL VirutalHost web template either by having a separate template for SSL or by having IF-ELSE-ENDIF for SSL.

It would be a very useful feature especially for accounts migrated from cpanel:

${IF-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/ssl/${USER}/${DOM}/*.conf
${ELSE-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/std/${USER}/${DOM}/*.conf
${ENDIF-SSL}.

I tried

${IF-WEB}
IncludeOptional /etc/httpd/conf.d/userdata/std/${USER}/${DOM}/*.conf
${ENDIF-WEB}
${IF-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/ssl/${USER}/${DOM}/*.conf
${ENDIF-SSL}

but it also places the 'std' line in SSL vhost instead of 'ssl' one.

Wesco