Put template in a templatelist before enrolling, return the templatelist