Template:FULLBASEPAGENAME/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:FULLBASEPAGENAME.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template was ported from a template from Wikipedia. It was originally at Template:FULLBASEPAGENAME/doc. The original authors of this template are shown on the template's edit history page.
This template's documentation was also ported from Wikipedia, originally from Template:FULLBASEPAGENAME/doc/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
This template's documentation was also ported from Wikipedia, originally from Template:FULLBASEPAGENAME/doc/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
Get the namespace and the base page name of a page.
It is basically equivalent to using the magic word {{NAMESPACE}}:{{BASEPAGENAME}}
.
Usage
{{FULLBASEPAGENAME}}
→ Template:FULLBASEPAGENAME{{FULLBASEPAGENAME|Template:1x/sandbox}}
→ Template:1x
In namespaces with subpages disabled, it will return the full page name.
Note that this template can be substituted.
See also