Help:Parser functions/rootpagename
From Disney•Pixar CARS Wiki
Jump to navigation
Jump to search
Get the non-prefixed page title of the current plus any parent subpage layers; Effectively equivalent to {{PAGENAME}} if not used on a subpage. Similar but not to be confused with {{BASEPAGENAME}}, which includes parent subpages if any.
- Example
{{ROOTPAGENAME}} -> Parser functions
- See also
{{ROOTPAGENAMEE}} URL-encoded counterpart.
- Returns
- string Non-prefixed title of the root page (own title if not a subpage).