Create a template from an existing page