Template:FULLROOTPAGENAME/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(straight port of most of the text of wikipedia:template:FULLROOTPAGENAME)
 
m (Protected "Template:FULLROOTPAGENAME/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''{{tl|{{PAGENAME}}}} gets the full root page name of the current or the given page. It is similar to the magic word <nowiki>{{FULLBASEPAGENAME}}</nowiki>, 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 <nowiki>{{FULLPAGENAME}}</nowiki>.
'''{{tl|{{PAGENAME}}}}''' gets the full root page name of the current or the given page. It is similar to the magic word <nowiki>{{FULLBASEPAGENAME}}</nowiki>, 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 <nowiki>{{FULLPAGENAME}}</nowiki>.


This template can be substituted.
This template can be substituted.


=== Usage ===
=== Usage ===
* {{tl|FULLROOTPAGENAME}} &rarr; {{FULLROOTPAGENAME}}
* <code><nowiki>{{FULLROOTPAGENAME}}</nowiki></code> &rarr; {{FULLROOTPAGENAME}}
* {{tl|FULLROOTPAGENAME|<nowiki></nowiki>}} &rarr; {{FULLROOTPAGENAME|}}
* <code><nowiki>{{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>{{FULLROOTPAGENAME|Theory:Doctor Who television discontinuity and plot holes/The Time Meddler}}</nowiki></code> &rarr; {{FULLROOTPAGENAME|Theory: 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>{{FULLROOTPAGENAME|Doctor Who (1996)/Production}}</nowiki></code> &rarr; {{FULLROOTPAGENAME|Doctor Who (1996)/Production}}


== See also ==
== See also ==
* [[Help:Magic words]]
* [[Help:Magic words]]
* {{tl|FULLBASEPAGENAME}}
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
* {{tl|ROOTPAGENAME}}

Latest revision as of 01:53, 13 May 2013

{{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