create template to page type