模板:PAGENAMETDOC

来自A Note from Chimaera Wiki
跳到导航 跳到搜索

模板:PAGENAMETDOC

Template-info.svg 模板文档  [编辑]

This template returns the current {{FULLBASEPAGENAME}}, unless the title ends in /sandbox plus any number of digits, in which case it returns the {{FULLPAGENAME}}. 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.