Creating Content Templates
- From the Admin menu, select Settings > Content templates. The Admin templates page appears.
Tip
You can also access the Admin: Templates page by typing http://www.yourdomain.com/tiki-admin_content_templates.php in your web browser. - Select the Create tab
- Name: Enter the name of the template. Your users will see (and select) the template based on this name, so make it useful.
- Use in Wiki: Select this option to make this template available for wiki pages.
Note
Only features for which you enabled the use of Content Templates will be listed. Right now, only the Wiki can use templates. - Template: Using wiki syntax, create a default page that will become the template. For example:
!Enter the Page Title Here
''Enter the page description here, in italic''
{maketoc}
!!Secondary Heading
Tip
The {maketoc} is a special wiki plugin that will automatically create a table of contents based on the headings used on the page. There are several options that you can include to control the formatting, depth, and title of the list. Refer to the Tiki Documentation for complete details. This plugin is similar to the {toc} used in Wiki Structures. - Click Preview to review the template. Continuing editing the template and click Save when you're done.
Tiki saves the template and adds it to the list of available templates:
You can repeat this procedure to create a new template for the articles (or use this same template for both features). Be sure to first enable the Template option on the Administration: Articles page.
Note
<HR>
Copyright
This guide is based on content originally published by KeyContent.org.
This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.
Essentially, you are are free:
![]() |
to Share — to copy, distribute and transmit the work |
![]() |
to Remix — to adapt the work |
Under the following conditions:
![]() |
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work. Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org). |
![]() |
Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. |
Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.
Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.