<?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%3ACommons_and_category%2Fdoc</id>
	<title>Template:Commons and category/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%3ACommons_and_category%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Commons_and_category/doc&amp;action=history"/>
	<updated>2026-04-04T15:05:31Z</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:Commons_and_category/doc&amp;diff=9482&amp;oldid=prev</id>
		<title>Wikipedia&gt;Hike395: /* Format */ document new parameter</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Commons_and_category/doc&amp;diff=9482&amp;oldid=prev"/>
		<updated>2021-12-10T15:03:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Format: &lt;/span&gt; document new parameter&lt;/span&gt;&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}}&lt;br /&gt;
{{Lua|Module:Commons link}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Sometimes articles have both Commons articles (galleries) and categories about them. This template can be used to generate a right-aligned (default) message box link to a [[commons:Commons:Galleries|Commons gallery]] and a [[commons:Commons:Categories|Commons category]]. It is intended for use in the &amp;quot;[[Wikipedia:External links|External links]]&amp;quot; section of an article.&lt;br /&gt;
&lt;br /&gt;
===Format===&lt;br /&gt;
:{{tlx|Commons and category|&amp;lt;var&amp;gt;CommonsGalleryName&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;CommonsCategoryName&amp;lt;/var&amp;gt;}}&lt;br /&gt;
Please note that the Commons gallery (1st parameter) or the Commons category (2nd parameter) are both optional: if either is left blank, the template will search for them in Wikidata. &lt;br /&gt;
&lt;br /&gt;
There are two optional parameters:&lt;br /&gt;
* {{para|position}} -- can specify whether the box is shifted to the left of the article&lt;br /&gt;
* {{para|linktext}} -- can override the text in the main link&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
{{Commons templates location}}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
:{{tlx|Commons and category|&amp;lt;var&amp;gt;Automobile&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;Automobiles&amp;lt;/var&amp;gt;}}&lt;br /&gt;
{{Commons and category|Automobile|Automobiles}}&lt;br /&gt;
{{clear right}}&lt;br /&gt;
:{{tlx|Commons and category}} when placed on [[Car]] (gallery and category both in wikidata):&lt;br /&gt;
{{Commons and category|qid=Q1420}}&lt;br /&gt;
{{clear right}}&lt;br /&gt;
:{{tlx|Commons and category}} when placed on [[Beinn an Dòthaidh]] (only category in wikidata):&lt;br /&gt;
{{Commons and category|qid=Q4881355}}&lt;br /&gt;
{{clear right}}&lt;br /&gt;
:{{tlx|Commons and category}} when placed on [[Samuel Baker House]] (only gallery in wikidata):&lt;br /&gt;
{{Commons and category|qid=Q2217963}}&lt;br /&gt;
{{clear right}}&lt;br /&gt;
:{{tlx|Commons and category}} when placed on [[Chicago Lawn, Chicago]] (neither gallery nor category in wikidata):&lt;br /&gt;
{{Commons and category|qid=Q2963317}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Commons templates see also}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Wikimedia Commons templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Hike395</name></author>
	</entry>
</feed>