Template:FULLBASEPAGENAME/doc

From Template Wiki, a repository of MediaWiki templates.
Jump to navigation Jump to search

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