<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.endmyopia.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfCommons</id>
	<title>Template:IfCommons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.endmyopia.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfCommons"/>
	<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Template:IfCommons&amp;action=history"/>
	<updated>2026-05-02T22:56:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.endmyopia.org/index.php?title=Template:IfCommons&amp;diff=4664&amp;oldid=prev</id>
		<title>NottNott: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Template:IfCommons&amp;diff=4664&amp;oldid=prev"/>
		<updated>2020-05-28T20:31:11Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 20:31, 28 May 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key jakeendmy_mw1720-mwnr_:diff::1.12:old-4663:rev-4664 --&gt;
&lt;/table&gt;</summary>
		<author><name>NottNott</name></author>
	</entry>
	<entry>
		<id>https://wiki.endmyopia.org/index.php?title=Template:IfCommons&amp;diff=4663&amp;oldid=prev</id>
		<title>en&gt;WOSlinker: fix bold</title>
		<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Template:IfCommons&amp;diff=4663&amp;oldid=prev"/>
		<updated>2019-08-26T09:47:59Z</updated>

		<summary type="html">&lt;p&gt;fix bold&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#ifeq:{{SITENAME}}|Wikipedia&lt;br /&gt;
|&amp;lt;!-- Wikipedia Categories---&amp;gt;&lt;br /&gt;
{{{Wikipedia|{{{2|}}}}}}&lt;br /&gt;
{{{4|}}}&lt;br /&gt;
|&amp;lt;!--- ELSE IsCommons=No, so these listed must be active on the Commons&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
{{{Commons|{{{1|}}}}}}&lt;br /&gt;
{{{3|}}}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&amp;lt;div style=&amp;quot;background:#ddf9ec; border=2px solid blue;font-size:+1; &amp;quot;&amp;gt;&lt;br /&gt;
;The purpose of this category switching template is to select different categories&lt;br /&gt;
:... is to pre-select appropriate commons categories for an image that is 'being approved by a human' for the BOT to move. &lt;br /&gt;
&lt;br /&gt;
*It works by using a parserFunction test of the website, one group of categories can be enabled and another disabled AFTER the move using the template,&lt;br /&gt;
* conversely, the second group is enabled and appropriate on Wikipedia BEFORE the Move. (So shows above as the parameter 'Wikipedia')&lt;br /&gt;
;Template logic&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#ifeq:{{SITENAME}}|Wikipedia&lt;br /&gt;
|&amp;lt;!-- Wikipedia Categories---&amp;gt;&lt;br /&gt;
{{{Wikipedia|{{{2|}}}}}}&lt;br /&gt;
{{{4|}}}&lt;br /&gt;
|&amp;lt;!--- ELSE IsCommons=No, so these listed must be active on the Commons&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
{{{Commons|{{{1|}}}}}}&lt;br /&gt;
{{{3|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As should be readily understood, the template is hung and the categories to be active on the commons (redlinks on en.wikipedia) can be listed after the first pipe '|' character.&lt;br /&gt;
;Example used&lt;br /&gt;
'''&amp;lt;pre&amp;gt;&lt;br /&gt;
{{IfCommons&lt;br /&gt;
|&amp;lt;!-- then {{{1}}} is listed commons only categories / templates ---&amp;gt;&lt;br /&gt;
[[Category:Lehigh Valley]]&lt;br /&gt;
[[Category:Anthracite mining in Pennsylvania]] &lt;br /&gt;
[[Category:Coal Company]] &lt;br /&gt;
[[Category:Mining images of Pennsylvania]]&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;!-- ELSE here put list of Wikipedia only categories / templates ---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Fairuse images of Anthracite mining company screenshots]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;WOSlinker</name></author>
	</entry>
</feed>