Difference between revisions of "Template:FULLBASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(created documentation)
 
imported>Amalthea
(another test case with a slash in a non-subpage namespace)
Line 10: Line 10:
 
* {{tlx|FULLBASEPAGENAME|<nowiki></nowiki>}} &rarr; {{FULLBASEPAGENAME|}}
 
* {{tlx|FULLBASEPAGENAME|<nowiki></nowiki>}} &rarr; {{FULLBASEPAGENAME|}}
 
* {{tlx|FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} &rarr; {{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
 
* {{tlx|FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} &rarr; {{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
 +
* {{tlx|FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}} &rarr; {{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}}
  
 
== See also ==
 
== See also ==

Revision as of 09:16, 28 April 2009

Get the fully qualified base page name of the current or the given page. It is similar to the magic word {{BASEPAGENAME}}, but prepends the namespace of the page.

If this template is used in namespaces with subpages disabled it will nonetheless attempt to remove anything after the last slash "/" in the title.

Usage

  • {{FULLBASEPAGENAME}} → Template:FULLBASEPAGENAME
  • {{FULLBASEPAGENAME|}} → Template:FULLBASEPAGENAME
  • {{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → wikipedia:Administrators' noticeboard/Arbitration enforcement
  • {{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days

See also