<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/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://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATEMPLATENAMEE%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:TEMPLATENAMEE/doc&amp;action=history"/>
	<updated>2026-10-31T21:48:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:TEMPLATENAMEE/doc&amp;diff=119975&amp;oldid=prev</id>
		<title>Wikipedia&gt;W like wiki: moved to subcategory :Category:Documentation templates (:Category:Template documentation is for doc templates and doc pages)</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:TEMPLATENAMEE/doc&amp;diff=119975&amp;oldid=prev"/>
		<updated>2024-02-14T00:19:57Z</updated>

		<summary type="html">&lt;p&gt;moved to subcategory &lt;a href=&quot;/w/index.php?title=Category:Documentation_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Documentation templates (page does not exist)&quot;&gt;Category:Documentation templates&lt;/a&gt; (&lt;a href=&quot;/wiki/Category:Template_documentation&quot; title=&quot;Category:Template documentation&quot;&gt;Category:Template documentation&lt;/a&gt; is for doc templates and doc pages)&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 where indicated at the bottom of this page, please --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When used on a template&amp;#039;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;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{{require}}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter can be set to a target subpage on which the template should function.  If the current subpage does not match &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{{require}}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; 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;
* {{tl|TEMPLATENAME}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Documentation templates]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
[[Category:Wikipedia magic word templates]]&lt;br /&gt;
[[Category:Pagename manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;W like wiki</name></author>
	</entry>
</feed>