Template:FULLROOTPAGENAME/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Line 4: Line 4:


=== Usage ===
=== Usage ===
* {{tl|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* <code><nowiki>{{tl|FULLROOTPAGENAME}}</nowiki></code> &rarr; {{FULLROOTPAGENAME}}
* {{tl|FULLROOTPAGENAME|<nowiki></nowiki>}} &rarr; {{FULLROOTPAGENAME|}}
* <code><nowiki>{{tl|FULLROOTPAGENAME|<nowiki></nowiki>}}</nowiki></code> &rarr; {{FULLROOTPAGENAME|}}
* {{tl|FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} &rarr; {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
* <code><nowiki>{{tl|FULLROOTPAGENAME|Forum:Doctor Who television discontinuity and plot holes/The Time Meddler}}</nowiki></code> &rarr; {{FULLROOTPAGENAME|Forum: Doctor Who television discontinuity and plot holes/The Time Meddler }}
* {{tl|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} &rarr; {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
* <code><nowiki>{{tl|FULLROOTPAGENAME|Doctor Who (1996)/Production}}</nowiki></code> &rarr; {{FULLROOTPAGENAME|Doctor Who (1996)/Production}}


== See also ==
== See also ==
* [[Help:Magic words]]
* [[Help:Magic words]]

Revision as of 16:45, 9 February 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

  • {{tl|FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
  • {{tl|FULLROOTPAGENAME|<nowiki>}}</nowiki> → Template:FULLROOTPAGENAME
  • {{tl|FULLROOTPAGENAME|Forum:Doctor Who television discontinuity and plot holes/The Time Meddler}} → Forum:Doctor Who television discontinuity and plot holes
  • {{tl|FULLROOTPAGENAME|Doctor Who (1996)/Production}} → Doctor Who (1996)/Production

See also