Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(rm outdated doc, works correctly in namespaces without subpages now (as defined in {{ns has subpages}}))
imported>Debresser
(Add see also.)
Line 14: Line 14:
  
 
== See also ==
 
== See also ==
*[[mw:Help:Magic words#Page names]]
+
* [[mw:Help:Magic words#Page names]]
*{{tl|ROOTPAGENAME}}
+
* {{tl|FULLBASEPAGENAME}}
*{{tl|FULLROOTPAGENAME}}
+
* {{tl|FULLROOTPAGENAME}}
 +
* {{tl|ROOTPAGENAME}}
  
 
<includeonly>
 
<includeonly>

Revision as of 13:10, 1 October 2009

Get the fully qualified base page name of the current or the given page. It is similar to the magic word {{BASEPAGENAME}}, but prepends the namespace of the page.

Usage

  • {{FULLBASEPAGENAME}} → Template:FULLBASEPAGENAME
  • {{FULLBASEPAGENAME|}} → Template:FULLBASEPAGENAME
  • {{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → wikipedia:Administrators' noticeboard/Arbitration enforcement


In namespaces with subpages disabled it will return the full page name:

See also