Template:PAGENAMETDOC
{{#ifeq:0|0|{{{{#if:||FULL}}BASEPAGENAME}}|{{{{#if:||FULL}}PAGENAME}}}}
 Template documentation
 Template documentationThis template returns the current Template:Tlx, unless the title ends in /sandbox plus any number of digits, in which case it returns the Template:Tlx. 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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |