The new Waze Wiki, aka Wazeopedia, is now live at! While this legacy wiki will remain accessible for the time being, it is no longer updated by the community. For the most up-to-date guidance, please visit your local Wazeopedia.

Please do not make any more updates to these legacy wiki pages, all future updates should be made in your country's local Wazeopedia.

Clock over a larger globe


From waze
Revision as of 08:42, 17 July 2014 by Kentsmith9 (Talk | contribs)

Jump to: navigation, search
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.


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

Special version

A special version of this template is {{RootPage2}} where it operates the same and Template:Tlc except if the root page is USA it uses the second subpage. This enables the automation of USA/CommonState to display normally if it is the sample template or deployed on an actual state page without further modifications.

Pagename {{RootPage2}}
USA/CommonState/Test CommonState
USA/CommonState CommonState
Arizona/To do Arizona
Arizona/Test/To do Arizona
Arizona/Test/To do/Main Arizona