Template:PAGENAMETDOC:修订间差异
模板页面
更多语言
更多操作
zh>Vozhuo ←建立内容为“{{#ifeq:{{#invoke:String|find|{{FULLPAGENAME}}|/sandbox%d*$|plain=false}}|0|{{{{#if:{{{1|}}}||FULL}}BASEPAGENAME}}|{{{{#if:{{{1|}}}||FULL}}PAGENAME}...”的新页面 |
小 导入1个版本 |
||
(没有差异)
| |||
2024年10月14日 (一) 07:18的最新版本
Template:PAGENAMETDOC
This template returns the current {{FULLBASEPAGENAME}}, unless the title ends in /sandbox plus any number of digits, in which case it returns the Template:Wikivar. It is primarily meant for demonstrating the sandbox version of templates in their documentation.
This template takes one numbered parameter (1); if anything is in this parameter then it will return {{BASEPAGENAME}} and {{PAGENAME}}, which have no namespace prefix.