Template:FULLBASEPAGENAME/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documentation subpage for [[Template:FULLBASEPAGENAME)
 
m (Fixed categories)
Line 20: Line 20:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Add categories below this line, and interwikis at Wikidata -->
<!-- Add categories below this line, and interwikis at Wikidata -->
[[Category:Wikipedia metatemplates]]
[[Category:Metatemplates]]
[[Category:Wikipedia variable-like templates]]
[[Category:Variable-like templates]]
}}</includeonly>
}}</includeonly>

Revision as of 18:28, 25 February 2020

Edit-copy.png
This is a documentation subpage for Template:FULLBASEPAGENAME.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Get the namespace and the base page name of a page.

It is basically equivalent to using the magic word {{NAMESPACE}}:{{BASEPAGENAME}}.

Usage

In namespaces with subpages disabled, it will return the full page name.

Note that this template can be substituted.

See also