Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 04:44, 24 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} This template returns {{pf|PAGENAME}} when transcluded on a template or template talk page, {{pf|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. {{pf|BASEPAGENAME}} is often used for that purpose, but it breaks when used in subtemplates. == Usage == {{tbullet|{{THISTEMPLATE}}}} <includ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


Contents