Template:FULLROOTPAGENAME/doc

From Tardis Wiki, the free Doctor Who reference
< Template:FULLROOTPAGENAME
Revision as of 01:53, 13 May 2013 by CzechBot (talk | contribs) (Protected "Template:FULLROOTPAGENAME/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{FULLROOTPAGENAME/doc}} gets 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|<nowiki>}}</nowiki> → Template:FULLROOTPAGENAME
  • {{FULLROOTPAGENAME|Theory:Doctor Who television discontinuity and plot holes/The Time Meddler}} → Theory:Doctor Who television discontinuity and plot holes
  • {{FULLROOTPAGENAME|Doctor Who (1996)/Production}} → Doctor Who (1996)/Production

See also