split templates parts