Last modified on 12 February 2012, at 12:42

FULLROOTPAGENAME

Revision as of 12:42, 12 February 2012 by PrimeHunter (Talk) (Protected Template:FULLROOTPAGENAME: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:FULLROOTPAGENAME

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

Get the full root page name of the current or the given page. It is similar to the magic word {{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

  • {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
  • {{FULLROOTPAGENAME|}} → Template:FULLROOTPAGENAME
  • {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1
  • {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters

See also