Template:FULLBASEPAGENAME
Get the namespace and the base page name of a page.
It is basically equivalent to using the magic word {{NAMESPACE}}:{{BASEPAGENAME}}.
{{FULLBASEPAGENAME}} → Template:FULLBASEPAGENAME{{FULLBASEPAGENAME|Template:1x/sandbox}} → Template:1xIn namespaces with subpages disabled, it will return the full page name.
Note that this template can be substituted.