| 后一修订版 | 前一修订版 |
| playground:test2:i_template [2026/10/10 10:11] – 创建 秋冥 | playground:test2:i_template [2026/10/10 10:16] (当前版本) – 秋冥 |
|---|
| %ID% | 指定页面的模板 |
| | |
| | 用i_template指定新建页面时自动填充的模板 |
| | |
| | |
| | ^ @ID@ | full ID of the page | |
| | ^ @NS@ | namespace of the page | |
| | ^ @CURNS@ | last part of the namespace of the page | |
| | ^ @!CURNS@ | same as above but with the first character uppercased | |
| | ^ @!!CURNS@ | same as above but with the first character of all words uppercased | |
| | ^ @!CURNS!@ | same as above but with all characters uppercased | |
| | ^ @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 of all words uppercased | |
| | ^ @!PAGE!@ | same as above but with all characters uppercased | |
| | ^ @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 all characters uppercased | |
| | ^ @USER@ | ID 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 | |
| | ^ @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 | |
| | |