Template:FULLROOTPAGENAME/doc
Appearance
| This is a documentation subpage for Template:FULLROOTPAGENAME. It contains usage information, categories and other content that is not part of the original template page. |
- This article uses content from the Wikipedia article on Template:FULLROOTPAGENAME/doc (edition) under the terms of the CC-by-SA 3.0 license.
Get the full root page name of the current or the given page. It is similar to the magic word {{FULLBASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent. In namespaces with no subpages, it will return either the given pagename or {{FULLPAGENAME}}.
This template can be substituted.
Usage
- {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → wikipedia:Administrators' noticeboard
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days
See also