差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 | |||
| playground:test2:i_template [2026/10/10 10:15] – 秋冥 | playground:test2:i_template [2026/10/10 10:16] (当前版本) – 秋冥 | ||
|---|---|---|---|
| 行 3: | 行 3: | ||
| 用i_template指定新建页面时自动填充的模板 | 用i_template指定新建页面时自动填充的模板 | ||
| - | @ID@ full ID of the page | + | |
| - | @NS@ namespace of the page | + | ^ @ID@ |
| - | @CURNS@ last part of the namespace of the page | + | ^ @NS@ |
| - | @!CURNS@ same as above but with the first character uppercased | + | ^ @CURNS@ |
| - | @!!CURNS@ same as above but with the first character of all words uppercased | + | ^ @!CURNS@ |
| - | @!CURNS!@ same as above but with all characters uppercased | + | ^ @!!CURNS@ |
| - | @PAGE@ page name (ID without namespace and underscores replaced by spaces) | + | ^ @!CURNS!@ |
| - | @!PAGE@ same as above but with the first character uppercased | + | ^ @PAGE@ |
| - | @!!PAGE@ same as above but with the first character of all words uppercased | + | ^ @!PAGE@ |
| - | @!PAGE!@ same as above but with all characters uppercased | + | ^ @!!PAGE@ |
| - | @FILE@ page name (ID without namespace, underscores kept as is) | + | ^ @!PAGE!@ |
| - | @!FILE@ same as above but with the first character uppercased | + | ^ @FILE@ |
| - | @!FILE!@ same as above but with all characters uppercased | + | ^ @!FILE@ |
| - | @USER@ ID of user who is creating the page | + | ^ @!FILE!@ |
| - | @NAME@ name of user who is creating the page | + | ^ @USER@ |
| - | @MAIL@ mail address of user who is creating the page | + | ^ @NAME@ |
| - | @DATE@ date and time when edit session started | + | ^ @MAIL@ |
| - | %a %d-%m-%y etc. e.g. Thu 06-12-12. strftime placeholders are replaced by page creation time | + | ^ @DATE@ |
| - | %% a literal % character appears in your template | + | ^ %a %d-%m-%y etc. |
| + | ^ %% | ||
| + | |||