Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frood
m (Reverted edits by 107.77.208.6 (talk) (HG) (3.1.22))
imported>Milker
Line 20: Line 20:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
+
[[{{ns:Category}}:Wikipedia metatemplates]]
 +
[[{{ns:Category}}:Wikipedia variable-like templates]]
 +
 
 
[[ja:Template:FULLBASEPAGENAME]]
 
[[ja:Template:FULLBASEPAGENAME]]
 
[[sl:Predloga:FULLBASEPAGENAME]]
 
[[sl:Predloga:FULLBASEPAGENAME]]
 
</includeonly>
 
</includeonly>

Revision as of 09:44, 7 January 2020

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