Template:FULLBASEPAGENAME
Revision as of 19:59, 18 August 2016 by test>Jo-Jo Eumerus (Changed protection level of Template:FULLBASEPAGENAME: Highly visible template: Lowering to template protection ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
Template:FULLBASEPAGENAME
| 40px | This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Get the namespace and the base page name of a page. It is similar to the template {{FULLROOTPAGENAME}}, but returns the parent of the page hierarchy instead of the root.
It is basically equivalent to using the magic word {{NAMESPACE}}:{{BASEPAGENAME}}.
Usage
{{FULLBASEPAGENAME}}→ Template:FULLBASEPAGENAME{{FULLBASEPAGENAME|Template:1x/sandbox}}→ Template:1x{{FULLBASEPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}→ wikipedia:Administrators' noticeboard/Arbitration enforcement
In namespaces with subpages disabled, it will return the full page name:
{{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}}→ List of 28 Days
Note that this template can be substituted.
See also
| The above documentation is transcluded from Template:FULLBASEPAGENAME/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |