Difference between revisions of "Template:ROOTPAGENAME"
(Allow substitution using safesubst: (Meta:Help:Safesubst)) |
m (1 revision) |
(No difference)
| |
Latest revision as of 14:35, 23 January 2013
ROOTPAGENAME
Get the root page name of the current or the given page. It is similar to the magic word {{BASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent.
This template can be substituted.
Usage
-
{{ROOTPAGENAME}}→ ROOTPAGENAME -
{{ROOTPAGENAME|}}→ ROOTPAGENAME -
{{ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}→ Administrators' noticeboard/Arbitration enforcement/Archive1 -
{{ROOTPAGENAME|List of 28 Days/Weeks Later characters}}→ List of 28 Days/Weeks Later characters
See also
Hy:Կաղապար:ROOTPAGENAME Mk:Шаблон:ROOTPAGENAME Ja:Template:ROOTPAGENAME
| The above documentation is transcluded from ROOTPAGENAME/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
