SharePoint page templates | Create SharePoint page template

In this SharePoint Online tutorial, we will discuss everything on SharePoint page templates. I will explain, how to create SharePoint page template.

Specially, we will cover here on SharePoint Online versions.

  • sharepoint online save page as template
  • create sharepoint page template
  • sharepoint create page from template
  • sharepoint online page template

SharePoint page template

Microsoft provides an option where we can save a well-designed SharePoint page as a template in a SharePoint Online site. And we can use that template to create pages easily with the same design. These are known as SharePoint page templates.

Let us see, you can create a page having a few SharePoint web parts in it. And if you want to create multiple pages with the same design, then we do not need to recreate it. You can save a page as a template in SharePoint and you can use the same template to create multiple pages in the same SharePoint Online site.

We can also easily modify the page that we have created using the SharePoint template.

The page template will be available in the SharePoint template gallery. The location is like below:

https://<tenant>.sharepoint.com/sites/<SiteName>/SitePages/Templates

Example:
https://tsinfotechnologies.sharepoint.com/sites/EnjoySharePoint/SitePages/Templates

Note:

  • You should be a SharePoint site owner or you should have edit permissions on the SharePoint Online site to add pages or to save page as a template.
  • SharePoint Online Page templates cannot be used across sites or Office 365 groups at this time. It will only be available in the same SharePoint site where you have created it.
  • We cannot create page template from the home page in SharePoint online.

Read SharePoint Navigation

Default SharePoint page templates

SharePoint provides 3 default page templates in a modern SharePoint site when you will try to create a page. And they are:

  1. Blank: Just a blank page
  2. Visual: Have some images, text, with tabular format, etc.
  3. Basic Text: It will have text, links in tabular formats.

Note: If you have any SharePoint Online custom page templates created before, you can see that template on the same page.

See also  How to Send Emails to Multiple Recipients from a SharePoint list using Power Automate?

You can see like below:

SharePoint page templates
SharePoint page templates

Read How to Customize SharePoint Modern list form using JSON

Create SharePoint page template

Let us now discuss how to create a page template in SharePoint Online.

Follow the below steps to create a Page Template:

  •  Go to the Home page of your SharePoint site, click on the + New, select Page from the drop-down control .
create Page in Sharepoint site
create Page in Sharepoint site
  • To create your Page template, select Blank and then click on the Create page.
create Blank Page in Sharepoint site
create Blank Page on Sharepoint site
  • Once your page is created, you can add and remove web parts, images, contents, as per the requirements.
  • For example, If we are going to use the same template for 10 pages, we can easily use the Save as template option instead of recreating the same template for all the pages.
  • Click on the Save as draft and select Save as template from the drop-down menu.
create a Blank Page in Sharepoint site
create a Blank Page on the Sharepoint site
  • Select Publish at the top right corner of the screen.
  • Once Published, Select Save as page Template option.
  • Click on the Save page template at the top right corner of the screen. And the page template will be added to your SharePoint site.
save Page Template in Sharepoint site
save Page Template in Sharepoint site
  • Once you’ve saved your template, it will appear in the Templates pane under Saved on your site.
  • Template pages are not published; only the pages created from the templates can be published.
  • Once the page is created, we can make any changes to that page without affecting the template.

This is how you can create a page template in SharePoint.

Read How to customize a SharePoint List form

sharepoint create page from template

Let us see how to create a page from a SharePoint page template.

View Page Template in SharePoint site

Let us see how we can view the created custom Page Template in the Modern SharePoint site,

There are two ways that we can view the Page templates on the SharePoint site. They are,

  1. Directly, we can view the template in a Template gallery
  2. We can view a template from the Templates folder in the SharePoint site Pages library 

View template in a Template gallery

  • To view the SharePoint page template, go to the Home page of your SharePoint site, click on the +New, and select page.
See also  How to Add Comments to SharePoint list items using Power Automate?

The below screenshot shows that a recently created template is viewed on the template gallery.

Save Page Template on the Sharepoint site
Save Page Template on the Sharepoint site

View template in a Template Folder

  • Open the SharePoint site contents, select Site pages
  • Click on the Templates folder to view the created template.
Save Page Template on the Modern Sharepoint site
Save Page Template on the Modern Sharepoint site

These are the two ways that we can view page templates in modern SharePoint.

Edit Page Template in SharePoint Online site

Let us see how we can edit the Custom page template from the template pane in SharePoint online,

Follow the below steps to edit the page template on the SharePoint site,

  • Select the template that you want to edit, click on the Kebab menu icon. Select Go to Template option.
Edit Page Template on the Sharepoint site
Edit Page Template on the Sharepoint site
  • Now click on the Edit Page Template at the top right corner.
Edit Template on the Sharepoint site
Edit Template on the Sharepoint site
  • Select the section that you want to edit. For delete, click on the web part that you want to delete and click on the delete.
Edit page Template in Sharepoint site
Edit page Template in Sharepoint site
  • To add the web part, click on the circled +, select the web part that you want to add.
Add webpart in page template sharepoint site
Add web part in page template SharePoint site
  • Once you edit your page, click on Save as page template option at the top right corner of the screen.
save page template in sharepoint
save page template in SharePoint

This is how we can edit a Custom page template in Modern SharePoint.

Read SharePoint column formatting examples

Delete Page Template from SharePoint site

Let us see how we can delete the created Custom Page Templates in the Modern SharePoint site,

There are two ways that we can delete the Page templates on the SharePoint site. They are,

  1. Directly, we can delete the template from the template pane
  2. We can delete a template from the Templates folder in the SharePoint site Pages library.

Delete template in a Template pane

  • Select the template that you want to delete, click on the Kebab menu icon. Select Delete from site option.
Delete Page Template on the Modern Sharepoint site
Delete Page Template on the Modern Sharepoint site
  • In the Confirmation box, Select Ok.
Delete Page Template on the Sharepoint online
Delete Page Template on the Sharepoint online

This is one way that we can delete a custom page template from the Template pane.

Delete a template in a Template Folder

  • Go to the SharePoint site and Select site contents
delete page template in sharepoint
delete page template in SharePoint
  • Click on the Site pages
delete page template in sharepoint site
delete page template in SharePoint site
  • Select Templates folder.
Template folder in sharepoint
Template folder in SharePoint
  • Select the page template which you want to delete, Select Delete option.
Delete Sharepoint site template
Delete Sharepoint site template

This is another way to delete the custom page template.

See also  How to upload files to SharePoint using PowerShell

These are the ways that we can remove a custom page template from the SharePoint Modern page.

Set a template as a default selection in the Template pane

Let us see how we can set a template as a default selection in the Template pane in SharePoint online,

  • If we didn’t select a different template, the blank template will be used for new page.
  • If you prefer to have another template be the default selection, select the vertical ellipses at the bottom of the right of the template you want, and then select Set default selection.
  • When we change the default selection in the Template pane, it will be changed for all users on the site.
Set a template as a default template in modern SharePoint
Set a template as a default template in modern SharePoint
  • In the Confirmation box, Select Ok.
Set a template as a default template in SharePoint online
Set a template as a default template in SharePoint online

This is how we can set a template as a default selection in the Template pane in Modern SharePoint.

Alternate ways to find, edit and delete custom templates

Let us discuss an alternative way to edit and delete custom page templates,

The alternative way that we can edit and delete custom page templates is by using the Site pages Library.

  1. Open SharePoint site, click on the + New, select Page from the drop-down control.
  2. At the bottom of the Template pane that opens, select View templates folder.
alternative way to edit custom page template in SharePoint online
An alternative way to edit custom page template in SharePoint online
  • It will redirect to the Templates folder in the SharePoint site pages library, where we can edit and delete the custom page template.
Alternative way to edit custom page template in Modern SharePoint
An alternative way to edit custom page template in Modern SharePoint

This is another way that we can edit and delete custom page templates in Modern SharePoint.

Related SharePoint Online tutorials:

In this tutorial, we have learned how to create a page template in SharePoint Online and also covered the below topics:

  • SharePoint page templates
  • sharepoint online save page as template
  • Create page template in SharePoint Online
  • How to Edit a Page Template in SharePoint site
  • How to Delete the Page Template from a SharePoint site
  • How to save a sharepoint page as a template
  • Is this template-functionality only available from the site-homepage? When i’m at my pages-library, and want to add ‘new’ page, then it gives me only a direct standard page and no possibility to select a template.

  • >