Single method to calculate sub-template name