<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_handler%2Fnumbered%2Fdoc</id>
	<title>Template:Category handler/numbered/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_handler%2Fnumbered%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Category_handler/numbered/doc&amp;action=history"/>
	<updated>2026-04-06T07:38:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Template:Category_handler/numbered/doc&amp;diff=4933&amp;oldid=prev</id>
		<title>Waahlis: Created page with &quot;{{documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  This is the {{tl|category handler/numbered}} sub-template.  Do not use this...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Category_handler/numbered/doc&amp;diff=4933&amp;oldid=prev"/>
		<updated>2013-03-05T18:29:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  This is the {{tl|category handler/numbered}} sub-template.  Do not use this...&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 AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|category handler/numbered}} sub-template.&lt;br /&gt;
&lt;br /&gt;
Do not use this template directly, use {{tl|category handler}} instead. This template is called from {{tl|category handler}}, see user documentation there.&lt;br /&gt;
&lt;br /&gt;
The rest of the sections here are only for those that want to understand the internal workings of this template.&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
This sub-template makes it possible for its parent-template to take input in two forms:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{category handler&lt;br /&gt;
| 1 = Input&lt;br /&gt;
| main = 1&lt;br /&gt;
| talk = 1   &amp;lt;!--Reusing &amp;quot;Input&amp;quot; for both the main and talk parameters--&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{category handler&lt;br /&gt;
| main = Input1&lt;br /&gt;
| talk = Input2   &amp;lt;!--Instead feeding text directly to the talk parameter--&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This sub-template takes a bunch of numbered parameters. There&amp;#039;s no limit to the number of parameters it can use, other than what the servers and MediaWiki system can handle.&lt;br /&gt;
&lt;br /&gt;
It also takes a parameter named &amp;#039;&amp;#039;&amp;#039;data&amp;#039;&amp;#039;&amp;#039;. If &amp;#039;&amp;#039;&amp;#039;data&amp;#039;&amp;#039;&amp;#039; is a number, then it returns the data of the corresponding numbered parameter. If &amp;#039;&amp;#039;&amp;#039;data&amp;#039;&amp;#039;&amp;#039; is something else, for instance a category name, then it returns data unchanged.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s how you would normally call this sub-template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{category handler/numbered&lt;br /&gt;
| 1 = {{{1|}}}&lt;br /&gt;
| 2 = {{{2|}}}&lt;br /&gt;
| 3 = {{{3|}}}&lt;br /&gt;
| 4 = {{{4|}}}&lt;br /&gt;
| data = Input can be a number between 1-4, or something else.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above example, since the parent-template feeds only 1-4, then only the numbers 1-4 will work properly. Feeding other numbers will return an empty string.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[mw:Help:Extension:ParserFunctions]] – About &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#iferror:||}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; etc.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Meta]][[Category:Templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Waahlis</name></author>
	</entry>
</feed>