Template:ROOTPAGENAME/doc

Get the root page name of a page. It is similar to the magic word, but returns the root of the page hierarchy instead of the parent.

Usage


In namespaces with subpages disabled, it will return the full page name:

Note that this template can be substituted.