<?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%3ATEMPLATENAME%2Fdoc</id>
	<title>Template:TEMPLATENAME/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%3ATEMPLATENAME%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:TEMPLATENAME/doc&amp;action=history"/>
	<updated>2026-04-04T14:01:19Z</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:TEMPLATENAME/doc&amp;diff=16587&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:TEMPLATENAME/doc&amp;diff=16587&amp;oldid=prev"/>
		<updated>2014-11-22T17:29:42Z</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 not be URL-safe.  For a URL-encoded version, see {{tl|TEMPLATENAMEE}}.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
; {{{1}}} {{nobold|{{smaller|(i.e. the first unnamed parameter)}} or ''require''}}&lt;br /&gt;
: Sets the subpage from which the template extracts a name. If the parameter's value does not match the current subpage,{{clarify|July 2014}} nothing will be returned. This is useful in preventing potentially endless [[Recursion (computer science)|recursive loops]] on some templates pages that might otherwise reference themselves.&lt;br /&gt;
&lt;br /&gt;
; ''docpage'' {{nobold|or ''override''}}&lt;br /&gt;
: Use to indicate the documentation page's location if it is other than the subpage &amp;lt;code&amp;gt;/doc&amp;lt;/code&amp;gt;, e.g. &amp;lt;code&amp;gt;{{((}}{{TEMPLATENAME}}{{!}}docpage=Documentation{{))}}&amp;lt;/code&amp;gt; if the subpage is &amp;lt;code&amp;gt;/Documentation&amp;lt;/code&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;
== See also ==&lt;br /&gt;
* {{tl|TEMPLATENAMEE}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:Templatename}}&lt;br /&gt;
[[{{ns:Category}}:Template documentation]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>