Wiktenauer logo.png

Template:ROOTPAGENAME

From Wiktenauer
Revision as of 02:21, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ROOTPAGENAME

[edit] [history] [purge] Documentation icon Template documentation

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

as:সাঁচ:ROOTPAGENAME hy:Կաղապար:ROOTPAGENAME mk:Шаблон:ROOTPAGENAME ja:Template:ROOTPAGENAME