DokuWiki

It's better when it's simple

User Tools

Site Tools


namespace_templates

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
namespace_templates [2020-05-11 09:59] – removed feature request -> use issue tracker andinamespace_templates [2020-06-08 09:55] – [Table] add @!CURNS@,@!!CURNS@ and @!CURNS!@ Klap-in
Line 26: Line 26:
 Inside of the file, you may also use some replacement patterns to make the template a little more dynamic. Inside of the file, you may also use some replacement patterns to make the template a little more dynamic.
  
-^ @ID@     | full ID of the page                                                                    | +^ @ID@              | full ID of the page                                                                    | 
-^ @NS@     | namespace of the page                                                                  | +^ @NS@              | namespace of the page                                                                  | 
-^ @CURNS@  | last part of the namespace of the page                                                 | +^ @CURNS@           | last part of the namespace of the page                                                 
-^ @PAGE@   | page name (ID without namespace and underscores replaced by spaces)                    | +^ @!CURNS@          | same as above but with the first character uppercased                                  | 
-^ @!PAGE@  | same as above but with the first character uppercased                                  | +^ @!!CURNS@         | 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                     | +^ @!CURNS!@         | same as above but with all characters uppercased                                       
-^ @!PAGE!@ | same as above but with all characters uppercased                                       | +^ @PAGE@            | page name (ID without namespace and underscores replaced by spaces)                    | 
-^ @FILE@   | page name (ID without namespace, underscores kept as is)                               | +^ @!PAGE@           | same as above but with the first character uppercased                                  | 
-^ @!FILE@  | same as above but with the first character uppercased                                  | +^ @!!PAGE@          | same as above but with the first character of all words uppercased                     | 
-^ @!FILE!@ | same as above but with all characters uppercased                                       | +^ @!PAGE!@          | same as above but with all characters uppercased                                       | 
-^ @USER@   | ID of user who is creating the page                                                    | +^ @FILE@            | page name (ID without namespace, underscores kept as is)                               | 
-^ @NAME@   | name of user who is creating the page                                                  | +^ @!FILE@           | same as above but with the first character uppercased                                  | 
-^ @MAIL@   | mail address of user who is creating the page                                          | +^ @!FILE!@          | same as above but with all characters uppercased                                       | 
-^ @DATE@   | date and time when edit session started                                                | +^ @USER@            | ID of user who is creating the page                                                    | 
-^ %a %d-%m-%y etc. | e.g. Thu 06-12-12. [[phpfn>strftime]] placeholders are replaced by page creation time | +^ @NAME@            | name of user who is creating the page                                                  | 
-^ %%       | a literal ''%'' character appears in your template                                     |+^ @MAIL@            | mail address of user who is creating the page                                          | 
 +^ @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 literal ''%'' character appears in your template                                     |
  
  
namespace_templates.txt · Last modified: 2024-05-03 09:02 by zweihorn

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