<?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%3ALinkCatIfExists2%2Fdoc</id>
	<title>Template:LinkCatIfExists2/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%3ALinkCatIfExists2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:LinkCatIfExists2/doc&amp;action=history"/>
	<updated>2026-04-07T04:45:59Z</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:LinkCatIfExists2/doc&amp;diff=22901&amp;oldid=prev</id>
		<title>Wikipedia&gt;BrownHairedGirl: {{High-use|42250}} ..... down from  215365, now that Template:Navseasoncats is using Lua</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:LinkCatIfExists2/doc&amp;diff=22901&amp;oldid=prev"/>
		<updated>2019-09-16T04:27:45Z</updated>

		<summary type="html">&lt;p&gt;{{High-use|42250}} ..... down from  215365, now that &lt;a href=&quot;/wiki/Template:Navseasoncats&quot; title=&quot;Template:Navseasoncats&quot;&gt;Template:Navseasoncats&lt;/a&gt; is using Lua&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|42250}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
This is a simple helper template, to be used in other templates.  It displays a link to a category if that category exists; otherwise it just displays plaintext in grey, to reduce the visual prominence of the unlinked text.&lt;br /&gt;
&lt;br /&gt;
Optional display text may be added as a second parameter.&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
This template is a variant of {{Tl|LinkCatIfExists}}, which does no greying.&lt;br /&gt;
&lt;br /&gt;
The greying was designed to improve the clarity of category header templates such as {{tl|EstcatContinentCentury}} on pages such as [[:Category:11th-century establishments in Asia]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
{{Tlx|LinkCatIfExists2|CategoryName|OptionalDisplayText}}&lt;br /&gt;
&lt;br /&gt;
;Simple usage: {{Tlx|LinkCatIfExists2|CategoryName}}&lt;br /&gt;
:Examples:&lt;br /&gt;
:* {{Tlx|LinkCatIfExists2|A non-existent category}} → {{LinkCatIfExists2|A non-existent category}}&lt;br /&gt;
:* {{Tlx|LinkCatIfExists2|United States}} → {{LinkCatIfExists2|United States}}&lt;br /&gt;
&lt;br /&gt;
;With optional display text: {{Tlx|LinkCatIfExists2|CategoryName|DisplayText}}&lt;br /&gt;
:Examples:&lt;br /&gt;
:* {{Tlx|LinkCatIfExists2|A non-existent category|Foo}} → {{LinkCatIfExists2|A non-existent category|Foo}}&lt;br /&gt;
:* {{Tlx|LinkCatIfExists2|United States|USA}} → {{LinkCatIfExists2|United States|USA}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Template:LinkCatIfExists]] — same as this, but without greying&lt;br /&gt;
* [[Template:Category see also if exists]]&lt;br /&gt;
* [[Template:Cat in use]], allows checking of whether category is populated&lt;br /&gt;
* [[Template:Link if exists]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia utility templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;BrownHairedGirl</name></author>
	</entry>
</feed>