Template:FULLROOTPAGENAME
Get the namespace and the root of the page name. It is similar to the template
{{FULLBASEPAGENAME}}
, but returns the root of the page hierarchy instead of the parent.
Usage
{{FULLROOTPAGENAME}}
→ Template:FULLROOTPAGENAME{{FULLROOTPAGENAME|Template:1x/sandbox}}
→ Template:1x{{FULLROOTPAGENAME|PZwiki:1x/sandbox/Archive1}}
→ PZwiki:1x
Parameters
Parameter | Description | Status | |
---|---|---|---|
Page name | 1
|
The input page name. If omitted or empty, the current page name will be used | optional |
See also
Documentation transcluded from Template:FULLROOTPAGENAME/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)