Template:FULLROOTPAGENAME

From Xen
Revision as of 11:30, 3 May 2010 by Amalthea (talk) (Allow substitution using safesubst: (meta:Help:Safesubst))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:FULLROOTPAGENAME

[edit] [purge] 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

The above documentation is transcluded from Template:FULLROOTPAGENAME/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.