devel:template_info
Template Information
Each template needs to provide some basic information about itself. This is done through a file called template.info.txt
located in the template directory.
Here's an example how such a file should look like.
- lib/tpl/example/template.info.txt
base example author My Full Name email me@example.com date 2012-09-08 name Example Template desc This is just an Example of how a template description looks like url https://www.dokuwiki.org/template:example
Parameter | Description |
---|---|
base | The technical name of the template. Extension Manager will install it into this directory.1). See also template naming conventions |
author | The full name of the Template author |
E-Mail to contact the template author about this template | |
date | The date of the last update of this template in YYYY-MM-DD form. Don't forget to update this when you update your template! 2) |
name | The human readable name of the template |
desc | A description of what the template does and look like |
url | URL to where more info about the template is available |
1)
It is important to have a unique base field value (i.e. template name) or an already existing template with that name could be overwritten.
2)
This date should be equal to the “Last updated on” date on the templates page in the repository. This is needed for the automated update flagging used by the Extension Manager introduced in release Ponder Stibbons
devel/template_info.txt · Last modified: by 130.112.1.3