Advent calendar 15: Create and provide page templates

15-Advent-Calendar-PageTemplate

Page templates easen the process of creating new articles in the wiki, because they provide a pattern for the content. Users get a clue of what information is needed here and what is missing. The templates also cause a more homogeneous structure for articles of the same content area.

Here´s a description how to create and provide page templates:

Create a new page in the namespace “template”, for example “Template:Organization”. You can edit and format this page like usual – add headings, tables and boxes here to create the framework for the content, which should be added. After you saved the structure for the page, you need to make it available for your users.
You need administrator rights, because this must be done in the admin tab in the left navigation. There you will find the menu item “Page templates”. Click on the green button to add a new template and a dialogue opens.

BlueSpice223-PageTemplates-Add-template-en

Make a template available for all users

First, choose the name of the template (e.g. Organization) and add a description to explain the use of this template. The template name and the description will be shown in the selection, when someone creates a new page. Now, choose the namespace, in which the template should be provided. In the next drop-down menus, you can choose your template. In case of our example, this will be “Template” in the menu for the template namespace, and “Organization” in the menu for the template. Confirm your changes and the template will be added. If an user creates a new page in the namespace you assigned, he will get the possibility to choose the template and start writing with the given structure of content.

Choosing a template

Choosing a template

Leave a Reply