Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Milker
imported>Redrose64
(→‎See also: Milker, why are you using this strange syntax?)
Line 20: Line 20:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{ns:Category}}:Wikipedia metatemplates]]
+
[[Category:Wikipedia metatemplates]]
[[{{ns:Category}}:Wikipedia variable-like templates]]
+
[[Category:Wikipedia variable-like templates]]
  
 
[[ja:Template:FULLBASEPAGENAME]]
 
[[ja:Template:FULLBASEPAGENAME]]
 
[[sl:Predloga:FULLBASEPAGENAME]]
 
[[sl:Predloga:FULLBASEPAGENAME]]
 
</includeonly>
 
</includeonly>

Revision as of 23:02, 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