🎇 Is XWiki the right fit for your team's knowledge needs? Join our webinar to find out! Register now.

How to create a project template in XWiki

25 Feb 2021 5 min read

Written by

Andreea Chirica

, Communications and Support Specialist

Imagine that you are invited to work on a project and you start receiving from your colleagues different information about it, from different locations: email threads, drives, sites, even scanned paper files.

 In this article, we'll build a clear template on which you and your colleagues could easily collaborate to gather everything into a dedicated project space.

A video tutorial

Create a XWiki project template in 4 easy steps (Nested Pages Hierarchy)

I added a number of steps on how to create a template based on a group of pages (a parent page and a number of subpages).

#1  Structure your project

I started with the creation of a parent page named "Project Home" and then a number of child pages of this parent page:

  • Project Description (to which I added another child page Project Timeline),
  • Project Organization Team,
  • Project Specifications.

Then, on the Project Home, I chose to use a macro that displays all child pages of this parent page.

#2  Create a template

Go to Wiki Administration > Content tab > Page Templates section.

Set a title, a location and leave the Terminal Page option unchecked. When you're ready, click Create.

https://xwiki.com/en/download/Blog/how-to-create-project-template/WebHome/adding-project-template-provider.png

#3  Set up your project template

Then, you will have to define...

  • a template name (I chose "Projects Template"),
  • most importantly, the template to be used, which in this case will be the "Project Home".

By doing so, you will recreate each time this group of pages (the "Project Home" with the child pages created at the beginning).

💡 The "Terminal Page" option must also be set to "No" in order to take into account the child pages of the "Project Home" when using the template.

💡 If you want this group of pages to be created in a specific space, you must add this space in the "Creation restriction" option (I chose to not have a creation restriction).

#4  Use your template

After adding the settings, save.

Start creating a new project by creating a new page and selecting "Projects Template"  in the "Type> Templates" options.

Check out the result in the gallery below:

Going the extra mile

Put your imagination into practice even more with what you could add and use in the subpages of your Projects Template.

#1  In my example, in Project Timeline, I used the Calendar Pro application to display project events (which are actually set goals and meetings).

#2  Don't forget that you can also use the Meetings Pro application to organize meetings and then you could display them in your timeline calendar as well.

#3  Invite you project colleagues to vote the meeting ideas through Polls

#4  Create Ideas that could bring your project to the next level.

#5  In the Projects Specifications, you could display an Office slides presentation that you could edit/update using the OnlyOffice Connector application.

What kind of structure and content would you add to your project template?

You may also be interested in:

Best practices

Knowledge base software vs. content management system: What to choose?

Still deciding between knowledge base software and a CMS? Our latest article breaks down the key differences, must-have features, and real-world use cases to help you choose the right tool for your needs. Plus, we answer the big question: Can you use one in place of the other? Dive in and find out!

Best practices

How to create and customize a XWiki PDF template | Tutorial

Whether you’re managing technical documentation, internal wikis, or public knowledge bases, customizing your XWiki PDF templates lets you create professional, branded documents ready for sharing, archiving, or printing. In this step-by-step tutorial, you’ll learn how to create and customize a PDF template in XWiki — from setting up the template structure using Velocity and XHTML to styling it with CSS and adding dynamic information.

Best practices

Knowledge management vs. content management | Key differences and tools

Though they share some similarities, knowledge management and content management serve different purposes and users, and rely on different tools. Learn from our straightforward comparison about their differences, benefits, and practical applications.