<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_pair%2Fdoc</id>
	<title>Template:Category pair/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_pair%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Category_pair/doc&amp;action=history"/>
	<updated>2026-04-04T08:00:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Category_pair/doc&amp;diff=7400&amp;oldid=prev</id>
		<title>Wikipedia&gt;Hike395: link to new module</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Category_pair/doc&amp;diff=7400&amp;oldid=prev"/>
		<updated>2021-12-17T06:47:20Z</updated>

		<summary type="html">&lt;p&gt;link to new module&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;
{{High-use|2000}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Lua|Module:Category pair|Module:Check for unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Typical usage should be on dissimilar preceding/succeeding categories, or where a large gap exists in otherwise sequential categories. For similarly named sequential categories with gaps less than 5 years, use {{tlx|Navseasoncats}} instead, and {{tlx|Navseasoncats|skip-gaps{{=}}yes}} for gaps up to 15 years from the parent.&lt;br /&gt;
&lt;br /&gt;
* For 2 adjacent categories, a preceding &amp;lt;code&amp;gt;Category:NAME1&amp;lt;/code&amp;gt;, and a succeeding &amp;lt;code&amp;gt;Category:NAME2&amp;lt;/code&amp;gt;, place:&lt;br /&gt;
: {{tlx|Category pair|NAME1|NAME2}}&lt;br /&gt;
: at the top of the category page. Each category is displayed only if it exists. If neither category exists, nothing will be displayed.&lt;br /&gt;
&lt;br /&gt;
* If there is no succeeding category, you may simply place:&lt;br /&gt;
: {{tlx|Category pair|NAME1}}&lt;br /&gt;
: at the top of the category page.&lt;br /&gt;
&lt;br /&gt;
* If there is no preceding category, then leave the first parameter empty, and simply place:&lt;br /&gt;
: {{tlx|Category pair|&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;|NAME2}}&lt;br /&gt;
: at the top of the category page.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
;Preceding and succeeding categories, both exist&lt;br /&gt;
* {{tlx|Category pair|1934 FIFA World Cup|1950 FIFA World Cup}} → {{Category pair|1934 FIFA World Cup|1950 FIFA World Cup}}&lt;br /&gt;
&lt;br /&gt;
;Preceding category only, which exists&lt;br /&gt;
* {{tlx|Category pair|1934 FIFA World Cup}} → {{Category pair|1934 FIFA World Cup}}&lt;br /&gt;
&lt;br /&gt;
;Succeeding category only, which exists&lt;br /&gt;
* {{tlx|Category pair|&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;|1950 FIFA World Cup}} → {{Category pair||1950 FIFA World Cup}}&lt;br /&gt;
&lt;br /&gt;
;Preceding and succeeding categories, only preceding exists&lt;br /&gt;
* {{tlx|Category pair|1934 British Empire Games|1942 British Empire Games}} → {{Category pair|1934 British Empire Games|1942 British Empire Games}}&lt;br /&gt;
&lt;br /&gt;
;Preceding and succeeding categories, only succeeding exists&lt;br /&gt;
* {{tlx|Category pair|1946 British Empire Games|1954 British Empire and Commonwealth Games}} → {{Category pair|1946 British Empire Games|1954 British Empire and Commonwealth Games}}&lt;br /&gt;
&lt;br /&gt;
; Two non-existent categories, so no output:&lt;br /&gt;
* {{tlx|Category pair|AD 10 FIFA World Cup|AD 18 FIFA World Cup}} → {{Category pair|AD 10 FIFA World Cup|AD 18 FIFA World Cup}}&lt;br /&gt;
&lt;br /&gt;
== Error checking ==&lt;br /&gt;
Only the first two parameters are processed, others are ignored.&lt;br /&gt;
&lt;br /&gt;
If more than two parameters are supplied, a warning message is shown when the page is previewed. When it is saved, the page is added to the hidden tracking category: [[:Category:Pages using category pair with more than 2 parameters]].&lt;br /&gt;
&lt;br /&gt;
If more than two parameters are supplied, the template is unlikely to do what the editor intended. For &amp;lt;code&amp;gt;Category:NAME1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Category:NAME2&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;Category:NAME3&amp;lt;/code&amp;gt;, for example:&lt;br /&gt;
* {{tlc|Category pair|NAME1|NAME2|NAME3}} will ignore &amp;lt;code&amp;gt;Category:NAME3&amp;lt;/code&amp;gt;, and&lt;br /&gt;
* {{tlc|Category pair|NAME1||NAME2}} will ignore &amp;lt;code&amp;gt;Category:NAME2&amp;lt;/code&amp;gt;, because a duplicate &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; character between the two categories causes &amp;lt;code&amp;gt;Category:NAME2&amp;lt;/code&amp;gt; to be the third parameter rather the second.&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Pages using category pair with no output}}&lt;br /&gt;
: If neither parameter is a category which currently exists the template will produce no output. This is &amp;#039;&amp;#039;not necessarily an error&amp;#039;&amp;#039;; the other categories may simply be part of an incomplete series which will be completed in due course&lt;br /&gt;
* {{clc|Pages using category pair with more than 2 parameters}}&lt;br /&gt;
: See above: [[#Error checking|Error checking]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Navseasoncats}} — for similarly named sequential categories&lt;br /&gt;
* {{tl|Preceding category}}&lt;br /&gt;
* {{tl|Succeeding category}}&lt;br /&gt;
&lt;br /&gt;
{{Category hatnote templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Internal category-link templates]]&lt;br /&gt;
[[Category:Hatnote templates for category pages]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Hike395</name></author>
	</entry>
</feed>