Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.

Wiki Theme Template

The wiki's theme (visual design) is determined by a single php file (the template) located in the themes/wiki_themes directory. The following describes how the Theme Template is put together and lists the available tags, parameters, and variables for each section of the Theme Template.

NOTE: The included default wiki theme is fully commented with all the tags, parameters, and variables available in the wiki. This provides a quick reference while building your own theme or modifying the default one.

How the Template Works

The Theme Template is divided up into sections. Each section determines how a portion of the wiki is rendered. Each section has tags, parameters, and/or variables available to it. They work like normal ExpressionEngine tags, parameters, and variables except that you'll use them in a Theme Template instead of a ExpressionEngine Template within the Control Panel.

When you open the Theme Template in a text editor you'll find the beginning of each section clearly marked with a comment. For example, the start of the History section looks like this:

/* ----------------------------------------
/* Template - History
/* ----------------------------------------*/

You'll find all the available tags, parameters, and variables at the end of the section.

Sections

This is a list of all the sections in the order they appear in the default template. It will be helpful to have the default template file (themes/wiki_themes/default/default.php) open in a text editor while reviewing the Template section documentation.

Top of Page