Template:TemplatePAGENAME/doc

< Template:TemplatePAGENAME
Revision as of 02:51, 10 July 2010 by Cottrells (talk | contribs) (Created page with '<noinclude>{{Documentation subpage}}</noinclude> {{tl|{{PAGENAME}}}} inserts the name of the template currently being documented. It is equivalent to either {{PAGENAME}&#1…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{TemplatePAGENAME/doc}} inserts the name of the template currently being documented. It is equivalent to either {{PAGENAME}} or {{BASEPAGENAME}} depending on whether the currently viewed page is the documentation subpage or the template itself (which presumably transcludes the documentation subpage via {{documentation}}).