Template:FULLBASEPAGENAME/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed categories)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{Wikipedia port|documentation=1}}
{{Wikipedia port|documentation=1}}
Line 17: Line 17:
== See also ==
== See also ==
* [[mw:Help:Magic words#Page names]]
* [[mw:Help:Magic words#Page names]]
* {{tl2|FULLROOTPAGENAME}}


<includeonly>{{sandbox other||
 
<!-- Add categories below this line, and interwikis at Wikidata -->
{{Doc/Sandbox other|
[[Category:Metatemplates]]
<!-- Categories below this line, please -->
[[Category:Variable-like templates]]
[[Category:Templates]]
}}</includeonly>
[[Category:Magic word templates]]
}}

Latest revision as of 20:02, 12 June 2023

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