Template:THISTEMPLATE/doc

From Second Life Wiki
Jump to navigation Jump to search

This template returns {{"Wikipedia logo"PAGENAME}} when transcluded on a template or template talk page, {{"Wikipedia logo"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. {{"Wikipedia logo"BASEPAGENAME}} is often used for that purpose, but it breaks when used in subtemplates.

Usage