<?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%2Fdoc</id>
	<title>Template:Commons/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%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Commons/doc&amp;action=history"/>
	<updated>2026-04-09T04:21:13Z</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/doc&amp;diff=9501&amp;oldid=prev</id>
		<title>Wikipedia&gt;Tom.Reding: /* Location */ Replace with {{Commons templates location}}</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Commons/doc&amp;diff=9501&amp;oldid=prev"/>
		<updated>2021-09-19T12:44:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Location: &lt;/span&gt; Replace with {{&lt;a href=&quot;/wiki/Template:Commons_templates_location&quot; title=&quot;Template:Commons templates location&quot;&gt;Commons templates location&lt;/a&gt;}}&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;
&amp;lt;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). --&amp;gt;&lt;br /&gt;
{{For|other uses in Wikipedia|Wikipedia:COMMON (disambiguation)}}&lt;br /&gt;
{{Distinguish|Template:Copy to Wikimedia Commons}}&lt;br /&gt;
{{Lua|Module:Commons link}}&lt;br /&gt;
This template is part of Wikipedia&amp;#039;s [[Wikipedia:Wikimedia sister projects|sister projects]]. This template links an article to a page on [[commons:|Wikimedia Commons]], containing a gallery of related media. Note that it does not link to a Commons category, which will give a larger selection of media; for that use [[Template:Commons category]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
::{|&lt;br /&gt;
|-&lt;br /&gt;
|{{Tlx|Commons}}||—puts link-box with current page&amp;#039;s name.&lt;br /&gt;
|-&lt;br /&gt;
|{{Tlx|Commons|&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;}}||—puts link-box connecting title &amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
|{{Tlx|Commons|&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;|&amp;#039;&amp;#039;showname&amp;#039;&amp;#039;}}||—puts link-box showing the title &amp;#039;&amp;#039;showname&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
|{{Tlx|Commons|&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;|3=position=left}}||—floats link-box to the left side.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To place this template on the page, type &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;Commons|&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;}}&amp;#039;&amp;#039;&amp;#039;, where &amp;#039;&amp;#039;pagename&amp;#039;&amp;#039; is the name of a page on Wikimedia Commons (defaults to &amp;lt;small&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;{{PAGENAME}}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/small&amp;gt;, the end-name of a page where used).&lt;br /&gt;
* The optional 2nd parameter gives the displayed link text.&lt;br /&gt;
* The {{Para|position}} parameter accepts one keyword, &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, to float the box to the left instead of to the right.&lt;br /&gt;
* To link to a &amp;#039;&amp;#039;Category&amp;#039;&amp;#039;, use the related template {{Tlx|Commons category|&amp;#039;&amp;#039;catname&amp;#039;&amp;#039;}}, where &amp;#039;&amp;#039;catname&amp;#039;&amp;#039; is the name of the category.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
{{Commons templates location}}&lt;br /&gt;
&lt;br /&gt;
==Defaults==&lt;br /&gt;
The &amp;#039;&amp;#039;pagename&amp;#039;&amp;#039; defaults to wiki-variable &amp;lt;small&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;{{PAGENAME}}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/small&amp;gt;, which is the end-name of the page where used. For a Template:Txxx, the &amp;lt;small&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/small&amp;gt; would be the end-name &amp;quot;Txxx&amp;quot;. For a Category:Catxxx, that page would have &amp;lt;small&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/small&amp;gt; as the end-name &amp;quot;Catxxx&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The default positioning of the link-box is to the right-side.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{| style=&amp;quot;border:1px solid #808080; padding:1px;&amp;quot;&lt;br /&gt;
|{{tlx|Commons}}&lt;br /&gt;
|}&lt;br /&gt;
produces&lt;br /&gt;
{{Commons}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px solid #808080; padding:1px;&amp;quot;&lt;br /&gt;
|{{tlx|Commons|Reconquista}}&lt;br /&gt;
|}&lt;br /&gt;
produces&lt;br /&gt;
{{Commons|Reconquista}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px solid #808080; padding:1px;&amp;quot;&lt;br /&gt;
|{{tlx|Commons|Category:Reconquista}}&lt;br /&gt;
|}&lt;br /&gt;
produces&lt;br /&gt;
{{Commons|Category:Reconquista}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px solid #808080; padding:1px;&amp;quot;&lt;br /&gt;
|{{tlx|Commons|Reconquista|retaking of the Iberian Peninsula}}&lt;br /&gt;
|}&lt;br /&gt;
produces&lt;br /&gt;
{{Commons|Reconquista|retaking of the Iberian Peninsula}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px solid #808080; padding:1px;&amp;quot;&lt;br /&gt;
|{{tlx|Commons|Reconquista|position{{=}}left}}&lt;br /&gt;
|}&lt;br /&gt;
produces&lt;br /&gt;
{{Commons|Reconquista|position=left}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Template data==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
&amp;quot;description&amp;quot;: &amp;quot;Creates a small box with a link to a related page on Wikimedia Commons.&amp;quot;,&lt;br /&gt;
&amp;quot;params&amp;quot;: {&lt;br /&gt;
  &amp;quot;1&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Pagename&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The page name on Commons. The article&amp;#039;s page name is used as a default.&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;2&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Showname&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;Optional displayed link text.&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;position&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Position&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;Position to display the box: &amp;#039;left&amp;#039; floats the box to the left rather than the default which is on the right.&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false&lt;br /&gt;
  }&lt;br /&gt;
}}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
=== Normal categories ===&lt;br /&gt;
* {{clc|Commons link from Wikidata}}&lt;br /&gt;
* {{clc|Commons link is on Wikidata}}&lt;br /&gt;
=== Maintenance categories ===&lt;br /&gt;
* {{clc|Commons link is defined as the pagename}}&lt;br /&gt;
* {{clc|Commons link is locally defined}}&lt;br /&gt;
* {{clc|Commons link is the pagename}}&lt;br /&gt;
* {{clc|Inconsistent wikidata for Commons gallery}}&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 go below this line, please; interwikis go to Wikidata, thank you! --&amp;gt;&lt;br /&gt;
[[Category:Exclude in print]]&lt;br /&gt;
[[Category:Interwiki link templates]]&lt;br /&gt;
[[Category:Wikimedia Commons templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Tom.Reding</name></author>
	</entry>
</feed>