# IT:AD:DokuWiki:HowTo:Create a Template # [[./|(UP)]] Create a File called `__template.txt` in the root *pages/* directory. Use the following tags: ^Tag^Example^Description^ |@ID@|IT:AD:dokuwiki:HowTo:create_a_template|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@|create_a_template|page name (ID without namespace, underscores kept as is)| |@!FILE@|Create_a_template|same as above but with the first character uppercased| |@!FILE!@|CREATE_A_TEMPLATE|same as above but with all characters uppercased| ## Resources ## * https://www.dokuwiki.org/namespace_templates