Template:FULLROOTPAGENAME/doc
Jump to navigation
Jump to search
This template is used in system messages. Changes to it can cause immediate changes to the Wikimedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
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|Commons:Administrators' noticeboard/Archive1}} → Commons:Administrators' noticeboard
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters
See also
[edit]