Changes
Jump to navigation
Jump to search
no edit summary
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
Checks whether <code><nowiki>{{ROOTPAGENAME}} = {{PAGENAME}}</nowiki></code>
Note: namespace is not checked. So: "Template:Foo" and "Category:Foo" test positive.
== Usage ==
Main usage: in {{tl|documentation}} subpage. To prevent ''subtemplates'' that use the same doc page to categorise.
==See also==
* {{tl|Sandbox other}}
* [[Help:Magic_words]]
{{Namespace and pagename-detecting templates}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Pagename manipulation templates]]
[[Category:Template namespace templates]]
}}</includeonly>
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
Checks whether <code><nowiki>{{ROOTPAGENAME}} = {{PAGENAME}}</nowiki></code>
Note: namespace is not checked. So: "Template:Foo" and "Category:Foo" test positive.
== Usage ==
Main usage: in {{tl|documentation}} subpage. To prevent ''subtemplates'' that use the same doc page to categorise.
==See also==
* {{tl|Sandbox other}}
* [[Help:Magic_words]]
{{Namespace and pagename-detecting templates}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Pagename manipulation templates]]
[[Category:Template namespace templates]]
}}</includeonly>