IT:AD:DokuWiki:HowTo:Create a Template
Summary
Create a File called __template.txt in the root pages/ directory.
Use the following tags:
| Tag | Example | Description |
|---|---|---|
| @ID@ | IT:AD:dokuwiki:HowTo:createatemplate | full ID of the page |
| @NS@ | IT:AD:dokuwiki:HowTo | namespace of the page |
| @PAGE@ | create a template | page name (ID without namespace and underscores replaced by spaces) |
| @!PAGE@ | Create a template | same as above but with the first character uppercased |
| @!!PAGE@ | Create A Template | same as above but with the first character of all words uppercased |
| @!PAGE!@ | CREATE A TEMPLATE | same as above but with all characters uppercased |
| @FILE@ | createatemplate | page name (ID without namespace, underscores kept as is) |
| @!FILE@ | Createatemplate | same as above but with the first character uppercased |
| @!FILE!@ | CREATE_A_TEMPLATE | same as above but with all characters uppercased |