<?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:P1/Doc/PN - Revision history</title>
		<link>http://pcsar.dyndns.org/mediawiki/index.php?title=Template:P1/Doc/PN&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.12.0</generator>
		<lastBuildDate>Sun, 08 Nov 2026 06:33:42 GMT</lastBuildDate>
		<item>
			<title>Brett Wuth: New page: == Pn == {{P1/Doc/Related}} The templates  &lt;code&gt;{{((}}P''n''|param 1|param 2|param 3|...{{))}}&lt;/code&gt;, where &quot;&lt;code&gt;''n''&lt;/code&gt;&quot; is a number, each return the corresponding &lt;code&gt;param ''...</title>
			<link>http://pcsar.dyndns.org/mediawiki/index.php?title=Template:P1/Doc/PN&amp;diff=17411&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: == Pn == {{P1/Doc/Related}} The templates  &amp;lt;code&amp;gt;{{((}}P''n''|param 1|param 2|param 3|...{{))}}&amp;lt;/code&amp;gt;, where &amp;quot;&amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt;&amp;quot; is a number, each return the corresponding &amp;lt;code&amp;gt;param ''...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Pn ==&lt;br /&gt;
{{P1/Doc/Related}}&lt;br /&gt;
The templates &lt;br /&gt;
&amp;lt;code&amp;gt;{{((}}P''n''|param 1|param 2|param 3|...{{))}}&amp;lt;/code&amp;gt;,&lt;br /&gt;
where &amp;quot;&amp;lt;code&amp;gt;''n''&amp;lt;/code&amp;gt;&amp;quot; is a number,&lt;br /&gt;
each return the corresponding &amp;lt;code&amp;gt;param ''n''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
They are typically used in other templates when there are several values&lt;br /&gt;
that can be returned, one of which is the named parameter.  &lt;br /&gt;
Whether to use&lt;br /&gt;
&amp;lt;code&amp;gt;P''n''&amp;lt;/code&amp;gt; is calculated.&lt;br /&gt;
&lt;br /&gt;
E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ {{#if: {{{1|}}} | P1 | P2 }} |{{{1}}}|{{{2|}}}}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
returns parameter 1 if it's non blank, otherwise parameter 2.&lt;br /&gt;
&lt;br /&gt;
This usage might be chosen because the following more straight forward&lt;br /&gt;
implementation would have the undesired side effect of stripping&lt;br /&gt;
whitespace from the beginning and end of parameters 1 and 2 (a side&lt;br /&gt;
effect of #if:).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}} | {{{1}}} | {{{2|}}} }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Mon, 31 Dec 2012 19:44:10 GMT</pubDate>			<dc:creator>Brett Wuth</dc:creator>			<comments>http://pcsar.dyndns.org/mediawiki/index.php/Template_talk:P1/Doc/PN</comments>		</item>
	</channel>
</rss>