IT:AD:DokuWiki:HowTo:Create a Template

(UP)

Summary

Create a File called __template.txt in the root pages/ directory.

Use the following tags:

TagExampleDescription
@ID@IT:AD:dokuwiki:HowTo:createatemplatefull ID of the page
@NS@IT:AD:dokuwiki:HowTonamespace of the page
@PAGE@create a templatepage name (ID without namespace and underscores replaced by spaces)
@!PAGE@Create a templatesame as above but with the first character uppercased
@!!PAGE@Create A Templatesame as above but with the first character of all words uppercased
@!PAGE!@CREATE A TEMPLATEsame as above but with all characters uppercased
@FILE@createatemplatepage name (ID without namespace, underscores kept as is)
@!FILE@Createatemplatesame as above but with the first character uppercased
@!FILE!@CREATE_A_TEMPLATEsame as above but with all characters uppercased
  • /home/skysigal/public_html/data/pages/it/ad/dokuwiki/howto/create_a_template.txt
  • Last modified: 2023/11/04 22:57
  • by 127.0.0.1