Template:FULLBASEPAGENAME/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (→See also) |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
* [[mw:Help:Magic words#Page names]] | * [[mw:Help:Magic words#Page names]] | ||
* {{tl2|FULLROOTPAGENAME}} | * {{tl2|FULLROOTPAGENAME}} | ||
{{Doc/Sandbox other| | |||
<!-- Categories below this line, please --> | |||
[[Category:Templates]] | |||
[[Category:Magic word templates]] | |||
}} |
Revision as of 20:01, 12 June 2023

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