<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AP1%2Fdoc</id>
	<title>Template:P1/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AP1%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:P1/doc&amp;action=history"/>
	<updated>2026-04-23T12:29:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:P1/doc&amp;diff=2634&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:P1/doc&amp;diff=2634&amp;oldid=prev"/>
		<updated>2026-04-12T06:57:10Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:57, 12 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikiNonStop:diff:1.41:old-2633:rev-2634 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:P1/doc&amp;diff=2633&amp;oldid=prev</id>
		<title>en&gt;Pppery: Copy doc from enwiki</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:P1/doc&amp;diff=2633&amp;oldid=prev"/>
		<updated>2020-04-23T00:56:00Z</updated>

		<summary type="html">&lt;p&gt;Copy doc from enwiki&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;
&lt;br /&gt;
The templates [[Template:P1|P1]], [[Template:P2|P2]] and [[Template:P3|P3]] simply return the first, second and third unnamed input parameter respectively. For example:&lt;br /&gt;
* {{tlc|P1|foo|bar|baz}} returns {{P1|foo|bar|baz}}&lt;br /&gt;
* {{tlc|P2|foo|bar|baz}} returns {{P2|foo|bar|baz}}&lt;br /&gt;
* {{tlc|P3|foo|bar|baz}} returns {{P3|foo|bar|baz}}&lt;br /&gt;
&lt;br /&gt;
These templates can be used inside other templates as an alternative to the &amp;lt;code&amp;gt;[[Help:Parser functions##switch|#switch]]&amp;lt;/code&amp;gt; parser function, to switch between outputs based on whether the input is &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot; or &amp;quot;3&amp;quot;:&lt;br /&gt;
* {{tlc|P{{&amp;lt;nowiki/&amp;gt;{1}}}|&amp;#039;&amp;#039;output if 1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;output if 2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;output if 3&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#switch}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, this syntax is equivalent to&lt;br /&gt;
* {{tlc|{&amp;lt;nowiki/&amp;gt;#switch:{{&amp;lt;nowiki/&amp;gt;{1}}}|1{{=}}&amp;#039;&amp;#039;output if 1&amp;#039;&amp;#039;|2{{=}}&amp;#039;&amp;#039;output if 2&amp;#039;&amp;#039;|3{{=}}&amp;#039;&amp;#039;output if 3&amp;#039;&amp;#039;}}&lt;br /&gt;
except that the parser function strips whitespace between parameters whereas the templates don&amp;#039;t.&lt;/div&gt;</summary>
		<author><name>en&gt;Pppery</name></author>
	</entry>
</feed>