Help > Templates
Creating a New Template
Templates can easily be copied and customized from the existing Package Templates. Note: You'll need to be logged in to copy a template.
Required Variables
When editing templates, use the following variables to arrange the content of your pages.
| Variable
| Description
|
| &Content&
| Determines where the content of each page will be placed.
|
| &ToolMenu&
| Includes the "Edit", "Talk" and "History" links.
|
| &UserMenu&
| The login form and User specific links.
|
| &NavBar&
| Map Links.
|
| &PageFooter&
| Additional page information.
|
Additional Variables
| Variable
| Description
|
| &PageTitle&
| The title of the page.
|
| &PageOwner&
| The username of the page's owner.
|
| &UserDir&
| The directory of files uploaded by the page's owner.
|
Links
Starting with V0.9, you can create even more dynamic links using the following syntax.
These dynamic links will automatically be prefixed with /<linkPrefix> if your installation is not in the servers root directory.
| Sytnax
| Description
|
| This will create a link [[SpecialLink:changelog|a_link]]
to the changelog
| This will create a link a_link
to the changelog
|
| This will create a link [[LocalLink:Home|Link to homepage]]
| This will create a link Link to homepage
|