Template:FULLROOTPAGENAME/doc
This is a documentation subpage for Template:FULLROOTPAGENAME.
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:FULLROOTPAGENAME/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:FULLROOTPAGENAME/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:FULLROOTPAGENAME/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 root of the page name. It is similar to the template {{FULLBASEPAGENAME}}
, but returns the root of the page hierarchy instead of the parent.
Usage
- {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Template:1x/sandbox}} → Template:1x
In namespaces with subpages disabled, it will return the full page name:
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters
Note that this template can be substituted.
See also