<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.mylionking.com/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.mylionking.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACat_handler%2Fnumbered%2Fdoc</id>
		<title>Template:Cat handler/numbered/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.mylionking.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACat_handler%2Fnumbered%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://www.mylionking.com/w/index.php?title=Template:Cat_handler/numbered/doc&amp;action=history"/>
		<updated>2026-04-28T13:07:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>https://www.mylionking.com/w/index.php?title=Template:Cat_handler/numbered/doc&amp;diff=2935&amp;oldid=prev</id>
		<title>Moka: Created page with &quot;{{doc/start}}  This is the {{tl|cat handler/numbered}} sub-template.  Do not use this template directly, use {{tl|cat handler}} instead. This template is called from {{tl|cat han...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.mylionking.com/w/index.php?title=Template:Cat_handler/numbered/doc&amp;diff=2935&amp;oldid=prev"/>
				<updated>2011-04-04T04:20:28Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{doc/start}}  This is the {{tl|cat handler/numbered}} sub-template.  Do not use this template directly, use {{tl|cat handler}} instead. This template is called from {{tl|cat han...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc/start}}&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|cat handler/numbered}} sub-template.&lt;br /&gt;
&lt;br /&gt;
Do not use this template directly, use {{tl|cat handler}} instead. This template is called from {{tl|cat 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;
{{cat 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;
{{cat 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'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 '''data'''. If '''data''' is a number, then it returns the data of the corresponding numbered parameter. If '''data''' is something else, for instance a category name, then it returns data unchanged.&lt;br /&gt;
&lt;br /&gt;
Here's how you would normally call this sub-template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{cat 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;
{{doc/end}}&lt;/div&gt;</summary>
		<author><name>Moka</name></author>	</entry>

	</feed>