Creates a page template