<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons_category</id>
	<title>Template:Commons category - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons_category"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Commons_category&amp;action=history"/>
	<updated>2026-04-19T03:15:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Template:Commons_category&amp;diff=6065&amp;oldid=prev</id>
		<title>FilipeFonseca: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Commons_category&amp;diff=6065&amp;oldid=prev"/>
		<updated>2021-07-10T08:27:52Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Sister project&lt;br /&gt;
| position = {{{position|}}}&lt;br /&gt;
| project  = commons&lt;br /&gt;
| text     = Wikimedia Commons has {{{alt-term|media related to}}} &amp;lt;span style=&amp;quot;font-weight: bold; {{#ifeq:{{{nowrap|no}}}|yes|white-space:nowrap;}} {{#ifeq:{{{italic|yes}}}|yes|font-style: italic;}}&amp;quot;&amp;gt;[[commons:{{#if:{{{1|}}}|Category:{{{1|}}}|{{if then show|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:{{PAGENAME}}}}}}|{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{#if:{{{1|}}} | {{{1|}}} &amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}&amp;lt;!--&lt;br /&gt;
  --&amp;gt; |{{PAGENAME}} }} }} }}} }}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{{2|{{#if:{{{1|}}} | {{{1|}}} &amp;lt;!--&lt;br /&gt;
  --&amp;gt;|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}|{{PAGENAME}} }}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;}}}}}}}]]&amp;lt;/span&amp;gt;.&amp;lt;!--&lt;br /&gt;
 End of the template code, now add relevant tracking categories&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;{{#switch:{{NAMESPACE}}||{{ns:14}}=&amp;lt;!--&lt;br /&gt;
 Only add tracking categories to articles and categories.&lt;br /&gt;
 --&amp;gt;{{#if:{{{1|}}}|{{#ifeq:Category:{{replace|{{{1|}}}|_|&amp;amp;#32;}}|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link is on Wikidata]]&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;|{{#ifeq:{{replace|{{{1|}}}|_|&amp;amp;#32;}}|{{PAGENAME}}|&amp;lt;!--&lt;br /&gt;
   ... the local parameter is the same as the local pagename&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link is defined as the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   ... the local parameter is not the pagename&lt;br /&gt;
   --&amp;gt;|[[Category:Commons category link is locally defined]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}}} }}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
  We don't have a locally-defined link &lt;br /&gt;
  --&amp;gt;|{{#if:{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   ... so we're using Wikidata&lt;br /&gt;
   --&amp;gt;[[Category:Commons category link from Wikidata]]&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- ... or we're using the pagename&lt;br /&gt;
    --&amp;gt;|[[Category:Commons category link is the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – [[Template:Commons_category#Resolving_discrepancies|please check]]}}&lt;br /&gt;
  }}&lt;br /&gt;
  }}&lt;br /&gt;
  }}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;!-- Add categories to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>FilipeFonseca</name></author>
	</entry>
</feed>