Difference between revisions of "Template:FULLBASEPAGENAME/doc"
Jump to navigation
Jump to search
imported>Amalthea m (Reverted edits by Perse clothing (talk) to last version by Pinky sl) |
imported>Capmo (equivalence to magic words) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- 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 | + | 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 === | === Usage === | ||
Revision as of 20:43, 28 January 2013
| This is a documentation subpage for Template:FULLBASEPAGENAME. It contains usage information, categories and other content that is not part of the original template page. |
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:
{{FULLBASEPAGENAME|List of 28 Days/Weeks Later characters}}→ List of 28 Days
See also