Template:TemplatePAGENAME/doc

From Wikibooks, open books for an open world
Jump to: navigation, search

{{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 {{template doc}}).