Template:FULLROOTPAGENAME
Jump to navigation
Jump to search
Template:FULLROOTPAGENAME
This template is used on 770,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
This template is used in system messages. Changes to it can cause immediate changes to the Starfleet logistics user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any 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 template {{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 source]
{{FULLROOTPAGENAME}}
→ Template:FULLROOTPAGENAME{{FULLROOTPAGENAME|}}
→ Template:FULLROOTPAGENAME{{FULLROOTPAGENAME|Starfleet talk:Administrators' noticeboard/Arbitration enforcement/Archive1}}
→ Starfleet talk:Administrators' noticeboard{{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
→ List of 28 Days
See also[edit source]
External links[edit source]
- Template:FULLROOTPAGENAME at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
Template data[edit source]
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
TemplateData for FULLROOTPAGENAME
A meta template that takes a page name and returns its root page name (including namespace).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The input page name. If omitted or empty, the current page name will be used | Page | optional |
The above documentation is transcluded from Template:FULLROOTPAGENAME/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |