Template:PAGENAMETDOC: Difference between revisions
Appearance
__en>JJMC89 bot III m Moving Category:Wikipedia variable-like templates to Category:Wikipedia magic word templates per Wikipedia:Categories for discussion/Log/2021 September 11#Category:Wikipedia variable-like templates |
m 1 revision imported |
(No difference)
|
Revision as of 15:28, 4 February 2025
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 {{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.