<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATEMPLATENAMEE%2Fdoc</id>
	<title>Template:TEMPLATENAMEE/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATEMPLATENAMEE%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:TEMPLATENAMEE/doc&amp;action=history"/>
	<updated>2026-04-04T20:54:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:TEMPLATENAMEE/doc&amp;diff=16589&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:TEMPLATENAMEE/doc&amp;diff=16589&amp;oldid=prev"/>
		<updated>2014-11-22T17:30:27Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When used on a template's &amp;lt;code&amp;gt;/doc&amp;lt;/code&amp;gt; subpage, {{tl|{{TEMPLATENAMEE}}}} evaluates to the name of the associated template.  The result will be accurate when the end page is either the &amp;lt;code&amp;gt;/doc&amp;lt;/code&amp;gt; subpage or the actual template page.  The template makes a special case for the &amp;lt;code&amp;gt;{{ns:Template}}:&amp;lt;/code&amp;gt; namespace: the &amp;lt;code&amp;gt;{{ns:Template}}:&amp;lt;/code&amp;gt; prefix will be removed.&lt;br /&gt;
&lt;br /&gt;
Note that the result will be wiki-URL-encoded.  For a version suitable for display, see {{tl|TEMPLATENAME}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
The template takes one parameter: &amp;lt;code&amp;gt;override&amp;lt;/code&amp;gt;.  Normally, this template detects whether the end page is a documentation page by looking for the presence of a &amp;lt;code&amp;gt;/doc&amp;lt;/code&amp;gt; subpage.  If the documentation page is under a different name—for example, in a different language—then the proper subpage name should be passed to &amp;lt;code&amp;gt;override&amp;lt;/code&amp;gt;.  For example, if the documentation subpage were named &amp;lt;code&amp;gt;Documentation&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{TEMPLATENAME}}|override=Documentation&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following subpages will always be removed:&lt;br /&gt;
* /doc&lt;br /&gt;
* /sandbox&lt;br /&gt;
* /testcases&lt;br /&gt;
&lt;br /&gt;
The '''&amp;lt;nowiki&amp;gt;{{{require}}}&amp;lt;/nowiki&amp;gt;''' parameter can be set to a target subpage on which the template should function.  If the current subpage does not match '''&amp;lt;nowiki&amp;gt;{{{require}}}&amp;lt;/nowiki&amp;gt;''' and the argument is not omitted, the template will evaluate to nothing.  This is useful to prevent recursive loops on some templates pages that might otherwise reference themselves.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* {{tl|TEMPLATENAME}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:Templatenamee}}&lt;br /&gt;
[[{{ns:Category}}:Template documentation]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>