<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://pcsar.dyndns.org/mediawiki/skins/common/feed.css?116"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Template:Pagename as template/Doc - Revision history</title>
		<link>http://pcsar.dyndns.org/mediawiki/index.php?title=Template:Pagename_as_template/Doc&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.12.0</generator>
		<lastBuildDate>Sat, 25 Apr 2026 21:58:36 GMT</lastBuildDate>
		<item>
			<title>Brett Wuth: New page: {{Template doc|&lt;nowiki&gt;subst=subst:&lt;/nowiki&gt;}} produces the name for the current page as if it were to be called as a template name.  This template is similar to {{FULLPAGENAME}} except th...</title>
			<link>http://pcsar.dyndns.org/mediawiki/index.php?title=Template:Pagename_as_template/Doc&amp;diff=17404&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: {{Template doc|&amp;lt;nowiki&amp;gt;subst=subst:&amp;lt;/nowiki&amp;gt;}} produces the name for the current page as if it were to be called as a template name.  This template is similar to {{FULLPAGENAME}} except th...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template doc|&amp;lt;nowiki&amp;gt;subst=subst:&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
produces the name for the current page&lt;br /&gt;
as if it were to be called as a template name.&lt;br /&gt;
&lt;br /&gt;
This template is similar to {{FULLPAGENAME}} except that if the page &lt;br /&gt;
is &lt;br /&gt;
* in the Template namespace, the namespace is omitted.&lt;br /&gt;
* in the Main namespace, it starts with a colon (&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
It allows the page to be referenced in &amp;lt;code&amp;gt;{{&amp;lt;/code&amp;gt; transclusions &amp;lt;code&amp;gt;}}&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The name always starts with a space,&lt;br /&gt;
as a workaround to a mediawiki limitation.  (See source for details.)&lt;br /&gt;
This space can normally be ignored or stripped for most uses.&lt;br /&gt;
&lt;br /&gt;
; subst : (optional) fully evaluate during substitution, if called like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{subst:pagename as template|subst=subst:}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Demo table|&lt;br /&gt;
{{Demo row|&amp;lt;nowiki&amp;gt;&amp;quot;{{pagename as template}}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;quot;{{pagename as template}}&amp;quot;}}&lt;br /&gt;
}}&lt;/div&gt;</description>
			<pubDate>Mon, 31 Dec 2012 18:57:03 GMT</pubDate>			<dc:creator>Brett Wuth</dc:creator>			<comments>http://pcsar.dyndns.org/mediawiki/index.php/Template_talk:Pagename_as_template/Doc</comments>		</item>
	</channel>
</rss>