Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
(Replaced content with 'lies')
imported>Meters
m (Reverted edits by 66.87.64.69 (talk) to last version by Capmo)
Line 1: Line 1:
lies
+
{{Documentation subpage}}
 +
<!-- 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 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 ===
 +
* {{tlx|FULLBASEPAGENAME}} &rarr; {{FULLBASEPAGENAME}}
 +
* {{tlx|FULLBASEPAGENAME|<nowiki></nowiki>}} &rarr; {{FULLBASEPAGENAME|}}
 +
* {{tlx|FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} &rarr; {{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
 +
 
 +
 
 +
In namespaces with subpages disabled it will return the full page name:
 +
* {{tlx|FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}} &rarr; {{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}}
 +
 
 +
== See also ==
 +
* [[mw:Help:Magic words#Page names]]
 +
* {{tl|FULLROOTPAGENAME}}
 +
* {{tl|ROOTPAGENAME}}
 +
 
 +
<includeonly>
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
 +
[[ja:Template:FULLBASEPAGENAME]]
 +
[[sl:Predloga:FULLBASEPAGENAME]]
 +
</includeonly>

Revision as of 04:56, 2 August 2016

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