THISTEMPLATE
This template returns {{PAGENAME}} when transcluded on a template or template talk page, {{BASEPAGENAME}} when on a doc, testcases or sandbox subpage, or nothing otherwise. It's useful in template documentation pages, so that the documentation doesn't need to be updated when the template is renamed. {{BASEPAGENAME}} is often used for that purpose, but it breaks when used in subtemplates.
Usage
edit{{THISTEMPLATE}}
→ THISTEMPLATE
This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |