Template:FULLROOTPAGENAME/doc
This is a documentation subpage for Template:FULLROOTPAGENAME (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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[edit]
- {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Festipedia:The Den/Archive}} → Festipedia:The Den
- {{FULLROOTPAGENAME|Day Log/1900-11-03}} → Day Log/1900-11-03