Template:ROOTPAGENAME

From TechInfoDepot
Jump to navigationJump to search

ROOTPAGENAME

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

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|TechInfoDepot:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Administrators' noticeboard
  • {{ROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days

See also