Template:TemplatePAGENAME/doc
Jump to navigation
Jump to search
{{#invoke:Message box|mbox}}
{{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}}).