Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,033
Community Members
 
Community Events
176
Community Groups

Is there a way to turn a page into a template?

I just cleaned up a little bit... And along with my sections, I removed the templates that were defined in them.
I still have pages that I could easily use to retrieve my templates, but I don't know how I can do that.

I tried to copy the content from one of those pages into a fresh template. But that didn't work well.

So, my question: can I turn a page into a template?

A little bit like saving Word documents (docx) to Word templates (dotx)...

6 answers

2 accepted

I found a way to do this that works well. 

  1. Create a blank template, name it and save it. (You have to save it first.)
  2. The reopen it for editing.
  3. At the top right, click on the Source icon  <>. The source view will open
  4. In another Tab / Window open the page for editing you want to make into a template.
  5. At the top right of the page you want to make a template, click on the Source icon  <>. The source view will open.
  6. Copy and paste the source code from your page to the source code of the template.
  7. Click apply, and you will see the copied page layout in your template. Adjust as needed and save.

Not quite as elegant as a built in process, but is quick and easy.

Yep, that's the detail of exactly what I do when I use the "copy and paste" I referred to  earlier, when I want to "convert" a page to a template.

Thanks for writing it up!

Like Rose Sahagun likes this
WG- I'm New Here Jan 22, 2023

Tried this, but it doesn't copy the layout. It copies content, but not the layout (columns, rows) you created. It also doesn't copy anchors I noticted.

Welcome to the Atlassian Community!

Are you in edit mode when you select and copy the content? 

If you're only viewing a page when you copy, only the content will come across, you'll lose a lot of the structure, like, as you mention, layout and anchors.

Note that while in Edit mode, you need to click the source icon "<>" top right. It sounds like you haven't taken that step?

It will open the Source window, which will have quite a different look. 

Ignore the complexity of it. So long as you copy and paste EVERYTHING in the Source Editor window to the Source Editor in your new template, you should be fine....

Ok, I'm a bit lost now.  When I edit a page, select all, copy it, then create new template and paste, I get everything (albeit not when I do it from server to cloud or vice-versa, it only works server to server or cloud to cloud)

Oh, if that works for you, then all good. :-)

But if you have sections added to the page, then you can only copy from one section at a time. 

If you don't use sections, then using the Source window is (I expect) un-neccessary.

But the Source window will let you copy all the source of one page to the source of another page, and let you keep everything on the page, including the sections.

Mmm, not what I get.  Just tested it, I can copy a whole page (with sections) to a template and it works fine.  (Server obviously, as Cloud has no sections)

Huh. Well, my experience is that I can only select the contents of one section at a time. CTRL+A doesn't work.

Drag and select doesn't work.

Now, I am in a Linux environment, on Chrome.

I just tried a drag to select in Firefox, and that DID seem to work. At least to select everything.  I didn't try a copy and paste....

So there we go... For whatever reason, Chrome on Linux doesn't seem to allow selecting across sections, but Firefox does.

:-)

0 votes
Answer accepted

I'm afraid not, you've already identified the closest thing we have to "create template from this page" - copy and paste.

Isn't this a request for a standard feature? this would be so easy to do then? because the Copy/Paste ins't that great... especially when you have setup some layout 

#featurerequest

Like # people like this

Copying templates is not a "standard feature" in wikis - some don't even have templates!

I know there's some feature requests open in Atlassian's product development/support Jira over at https://jira.atlassian.com/browse 

This site is a place to talk about Atlassian stuff, it's not about product management.  Atlassian are active here though, and it's not unusual to find issues raised by Atlassians in their Jira that say "raised because of conversation X over in the community"

If you can't find an appropriate feature logged there to vote on, then go ahead and raise one. 

I don't have one bookmarked (my list of things I would like is way too long, and this one, while I'd like it, is well below the top 64, so I'm not paying much attention), but I am sure there are open ones for it.

I am also looking to create a Template from a Page. Maybe this will bump up the priority of the feature request.

Like # people like this

It won't, Atlassian don't use Community for gathering requests - see my previous comment.

Like seth likes this

If it's helpful to folks - here is the issue where you can vote to express your interest in the feature: https://jira.atlassian.com/browse/CONFCLOUD-22749

Please, refer to this link https://support.atlassian.com/confluence-cloud/docs/create-a-template/ in order to create a new template. And then when you create a new page, you will be able to select your own template on the template list.

The way I work around not being able to save a page as a template is to - Copy and rename the page. 
You can create the 'template page' and name it Template X (or whatever you want). Then every time you need it, copy it into the needed space, then Edit the Title.
Note: when you first make the copy the page will be listed as "Copy of Template X" but again, just edit the title and it will save just fine.

This should be a feature.

Agree.  I ran into the necessity of this today.

See the answered thread above.

I have read the thread. 

I also would like the ability to create a template from a page

Please see the answered thread above, which explains how Atlassian gather interest.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events