DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:newpagetemplate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugin:newpagetemplate [2022-02-09 18:38] – [newpagetemplate Plugin] turnermmplugin:newpagetemplate [2022-05-24 13:18] (current) – [Table] 180.191.64.73
Line 63: Line 63:
 As with the ''_template.txt'' [[:namespace_templates|namespace templates]], the following variables are replaced in your template. As with the ''_template.txt'' [[:namespace_templates|namespace templates]], the following variables are replaced in your template.
  
-^ @ID@              | full ID of the page                                                                  +^ @ID@              | full ID of the page                                                                    
-^ @NS@              | namespace of the page                                                                +^ @NS@              | namespace of the page                                                                  
-^ @PAGE@            | page name (ID without namespace and underscores replaced by spaces)                  +^ @PAGE@            | page name (ID without namespace and underscores replaced by spaces)                    
-^ @!PAGE@           | same as above but with the first character uppercased                                +^ @!PAGE@           | same as above but with the first character uppercased                                  
-^ @!!PAGE@          | same as above but with the first character of all words uppercased                   +^ @!!PAGE@          | same as above but with the first character of all words uppercased                     
-^ @!PAGE!@          | same as above but with all characters uppercased                                     +^ @!PAGE!@          | same as above but with all characters uppercased                                       
-^ @FILE@            | page name (ID without namespace, underscores kept as is)                             +^ @FILE@            | page name (ID without namespace, underscores kept as is)                               
-^ @!FILE@           | same as above but with the first character uppercased                                +^ @!FILE@           | same as above but with the first character uppercased                                  
-^ @!FILE!@          | same as above but with all characters uppercased                                     +^ @!FILE!@          | same as above but with all characters uppercased                                       
-^ @USER@            | ID of user who is creating the page                                                  +^ @USER@            | ID of user who is creating the page                                                    
-^ @NAME@            | name of user who is creating the page                                                +^ @NAME@            | name of user who is creating the page                                                  
-^ @MAIL@            | mail address of user who is creating the page                                        +^ @MAIL@            | mail address of user who is creating the page                                          
-^ @DATE@            | date and time when edit session started                                              | +^ @DATE@            | date and time when edit session started                                                
-^ @DATE@            | date and time when edit session started                                              +^ %a %d-%m-%y etc.  | e.g. Thu 06-12-12. [[phpfn>strftime]] placeholders are replaced by page creation time  |
-^ %a %d-%m-%y etc.  | e.g. Thu 06-12-12. [[phpfn>strftime]] placeholders are replaced by page creation time   |+
  
  
plugin/newpagetemplate.txt · Last modified: 2022-05-24 13:18 by 180.191.64.73

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki