Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
m (Reverted edits by Perse clothing (talk) to last version by Pinky sl)
imported>Capmo
(equivalence to magic words)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
Get the fully qualified base page name of the current or the given page. It is similar to the magic word <nowiki>{{BASEPAGENAME}}</nowiki>, but prepends the namespace of the page.
+
Get the fully qualified base page name of the current or the given page. It is basically equivalent to using the magic word <code><nowiki>{{BASEPAGENAME}}</nowiki></code> in the Main namespace and <code><nowiki>{{NAMESPACE}}:{{BASEPAGENAME}}</nowiki></code> in all other namespaces.
  
 
=== Usage ===
 
=== Usage ===

Revision as of 20:43, 28 January 2013

Get the fully qualified base page name of the current or the given page. It is basically equivalent to using the magic word {{BASEPAGENAME}} in the Main namespace and {{NAMESPACE}}:{{BASEPAGENAME}} in all other namespaces.

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