template division