Template:FULLROOTPAGENAME/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Bot: Adding <noinclude>{{PAGENAME}}</noinclude>)
Line 11: Line 11:
== See also ==
== See also ==
* [[Help:Magic words]]
* [[Help:Magic words]]
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 13:49, 18 May 2012

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

See also