<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FTEMPLATENAME%2Fdoc</id>
	<title>Template:PG/TEMPLATENAME/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FTEMPLATENAME%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/TEMPLATENAME/doc&amp;action=history"/>
	<updated>2026-04-08T07:35:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:PG/TEMPLATENAME/doc&amp;diff=218&amp;oldid=prev</id>
		<title>imported&gt;Trimoon: Undo revision 14383 by Trimoon (talk).</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/TEMPLATENAME/doc&amp;diff=218&amp;oldid=prev"/>
		<updated>2016-04-16T13:02:29Z</updated>

		<summary type="html">&lt;p&gt;Undo revision 14383 by &lt;a href=&quot;/wiki/Special:Contributions/Trimoon&quot; title=&quot;Special:Contributions/Trimoon&quot;&gt;Trimoon&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Trimoon&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Trimoon (page does not exist)&quot;&gt;talk&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{SPW|name={{PAGENAME}} }}&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 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 &amp;#039;&amp;#039;require&amp;#039;&amp;#039;}}&lt;br /&gt;
: Sets the subpage from which the template extracts a name. If the parameter&amp;#039;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;
; &amp;#039;&amp;#039;docpage&amp;#039;&amp;#039; {{nobold|or &amp;#039;&amp;#039;override&amp;#039;&amp;#039;}}&lt;br /&gt;
: Use to indicate the documentation page&amp;#039;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 below this line, please: --&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:Templatename}}&lt;br /&gt;
[[{{ns:Category}}:Template documentation]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
[[Category:Wikipedia variable-like templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Trimoon</name></author>
	</entry>
</feed>