Template:FULLROOTPAGENAME
Jump to navigation
Jump to search
Template:FULLROOTPAGENAME
This template was ported from a template from Wikipedia. It was originally at Template:FULLROOTPAGENAME. 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. 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. 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
The above documentation is transcluded from Template:FULLROOTPAGENAME/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.