<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://pdkb.chivanet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AROOTPAGENAME%2Fdoc</id>
		<title>Template:ROOTPAGENAME/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://pdkb.chivanet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AROOTPAGENAME%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://pdkb.chivanet.org/wiki/index.php?title=Template:ROOTPAGENAME/doc&amp;action=history"/>
		<updated>2026-05-13T20:52:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://pdkb.chivanet.org/wiki/index.php?title=Template:ROOTPAGENAME/doc&amp;diff=1844&amp;oldid=prev</id>
		<title>DavidWhitten: Created page with &quot;{{Documentation subpage}} &lt;!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt;  Get the root page name of a page. It...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pdkb.chivanet.org/wiki/index.php?title=Template:ROOTPAGENAME/doc&amp;diff=1844&amp;oldid=prev"/>
				<updated>2021-04-06T22:16:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --&amp;gt;  Get the root page name of a page. It...&amp;quot;&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;!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the root page name of a page. It is similar to the magic word &amp;lt;nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;/nowiki&amp;gt;, but returns the &amp;#039;&amp;#039;&amp;#039;root&amp;#039;&amp;#039;&amp;#039; of the page hierarchy instead of the &amp;#039;&amp;#039;&amp;#039;parent&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
* {{tlx|ROOTPAGENAME}} → {{ROOTPAGENAME}}&lt;br /&gt;
* {{tlx|ROOTPAGENAME|Template:1x/sandbox}} → {{ROOTPAGENAME|Template:1x/sandbox}}&lt;br /&gt;
* {{tlx|ROOTPAGENAME|Wikipedia:Administrators&amp;#039; noticeboard/Arbitration enforcement/Archive1}} → {{ROOTPAGENAME|Wikipedia:Administrators&amp;#039; noticeboard/Arbitration enforcement/Archive1}}&lt;br /&gt;
&lt;br /&gt;
In namespaces with subpages disabled, it will return the full page name:&lt;br /&gt;
* {{tlx|ROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{ROOTPAGENAME|List of 28 Days/Weeks Later characters}}&lt;br /&gt;
&lt;br /&gt;
Note that this template can be substituted.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mw:Help:Magic words#Page names]]&lt;br /&gt;
* {{tl|FULLBASEPAGENAME}}&lt;br /&gt;
* {{tl|FULLROOTPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Add categories below this line, and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia metatemplates]]&lt;br /&gt;
[[Category:Wikipedia variable-like templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DavidWhitten</name></author>	</entry>

	</feed>