Loading...
 

 Important

Major updates are in progress. Some pages and languages may not be available.

Creating Content Templates

  1. 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.
  2. Select the Create tab
    Admin templates
    Creating a template.
    • 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.
  3. Click Preview to review the template. Continuing editing the template and click Save when you're done.
    Preview
    A preview of your new wiki template.

Tiki saves the template and adds it to the list of available templates:

Templates
Your new template.


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

The maketoc built-in plugin can actually take parameters to make your page look nicer. See the Tiki docs page for more info.

Created by Rick Sapir (ricks99). Last Modification: Monday April 5, 2021 10:56:49 am EDT by Rick Sapir (ricks99).

Advertising