Template:FULLBASEPAGENAME

From VistApedia
Revision as of 18:24, 5 June 2019 by DavidWhitten (talk | contribs) (Created page with "{{#if: {{Ns has subpages | {{#if:{{{1|}}}|{{NAMESPACE:{{{1}}}}}|{{NAMESPACE}}}} }} | {{#if: {{#titleparts:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|-1}} | {{#titleparts...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Template:FULLBASEPAGENAME

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/Archive1


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

  • {{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters

See also

ja:Template:FULLBASEPAGENAME sl:Predloga:FULLBASEPAGENAME