Template:RootPage/doc View history

Revision as of 00:48, 10 July 2014 by Kentsmith9 (talk | contribs) (Created initial doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:RootPage.
It contains usage information, categories and other content that is not part of the original template page.

This template uses the #titleparts parser function extension to extract only the root of the page name.

Usage

Place {{RootPage}} where the root of the current page name is desired. An optional parameter is a pagename other than the current pagename.

Pagename {{RootPage}}
USA/CommonState/Test USA
USA USA