<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3ATEMPLATENAME%2Fdoc</id>
	<title>Module:TEMPLATENAME/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3ATEMPLATENAME%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:TEMPLATENAME/doc&amp;action=history"/>
	<updated>2026-04-22T14:11:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Module:TEMPLATENAME/doc&amp;diff=23824143&amp;oldid=prev</id>
		<title>imported&gt;Andrybak: /* Usage */ unicode arrows</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:TEMPLATENAME/doc&amp;diff=23824143&amp;oldid=prev"/>
		<updated>2025-10-09T03:12:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; unicode arrows&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{Distinguish|Template:TEMPLATENAME}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:TEMPLATENAME|main&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module returns the name of the page it is being transcluded from. This differs from {{((}}FULLPAGENAME{{))}} which returns the name of the currently viewed page even if it is called from a template. To use this doc page as an example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:TEMPLATENAME|main}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;samp&amp;gt;{{#invoke:TEMPLATENAME|main}}&amp;lt;/samp&amp;gt; while &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FULLPAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;samp&amp;gt;{{FULLPAGENAME}}&amp;lt;/samp&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get the same behavior for [[Help:variables|variables]] other than &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FULLPAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, this module can be passed as a parameter to them as in:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME:{{#invoke:TEMPLATENAME|main}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → &amp;lt;samp&amp;gt;{{PAGENAME:{{#invoke:TEMPLATENAME|main}}}}&amp;lt;/samp&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{mfl|params|self}} (identical function)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;[[Category:Module documentation pages]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Andrybak</name></author>
	</entry>
</feed>