<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons-inline%2Fdoc</id>
	<title>Template:Commons-inline/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommons-inline%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Commons-inline/doc&amp;action=history"/>
	<updated>2026-05-07T17:12:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Template:Commons-inline/doc&amp;diff=5569&amp;oldid=prev</id>
		<title>Merc: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Commons-inline/doc&amp;diff=5569&amp;oldid=prev"/>
		<updated>2025-05-04T08:32:17Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:32, 4 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Merc</name></author>
	</entry>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Template:Commons-inline/doc&amp;diff=5568&amp;oldid=prev</id>
		<title>wikipedia&gt;Jonesey95: make doc consistent with similar templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Commons-inline/doc&amp;diff=5568&amp;oldid=prev"/>
		<updated>2025-04-15T15:39:51Z</updated>

		<summary type="html">&lt;p&gt;make doc consistent with similar templates&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:Commons link}}&lt;br /&gt;
This template relies on [[Template:Sister-inline]].&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
This template can be used to generate a link to a page containing media related to a [[commons:Commons:Categories|Commons category]]. It is intended for use in the &amp;quot;[[WP:LAYOUTEL|External links]]&amp;quot; section of an article.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
* {{Commons-inline|Commons-gallery-page-name}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Commons gallery page name is optional; if missing, the template will look up the associated gallery in Wikidata. If that&amp;#039;s missing, it will find the associated category. If that&amp;#039;s missing, it will finally fall back to a Commons search.&lt;br /&gt;
&lt;br /&gt;
; Full syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
* {{Commons-inline&lt;br /&gt;
|list=                       wikitext for a list &lt;br /&gt;
|links=                      wikitext to override default link &lt;br /&gt;
|Commons-gallery-page-name= &lt;br /&gt;
|extratext=                  extra text &lt;br /&gt;
|search=                     string to search in Commons&lt;br /&gt;
|notrack=                    turn off tracking categories&lt;br /&gt;
|italic=                     italicize link text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
; Normal&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|Work}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|Work}}&lt;br /&gt;
&lt;br /&gt;
; Text override&lt;br /&gt;
Work is the link target and Puffle is the link label.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|Work|Puffle}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|Work|Puffle}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Full link override&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|links=[[commons:Foo|Foo]] and [[commons:Bar|Bar]]}}&lt;br /&gt;
&lt;br /&gt;
; List format&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|list=&lt;br /&gt;
* [[commons:Foo|Foo]]&lt;br /&gt;
* [[commons:Bar|Bar]]&lt;br /&gt;
* [[commons:Row|Row]]&lt;br /&gt;
* [[commons:Dee|Dee]]&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Commons-inline|list=&lt;br /&gt;
* [[commons:Foo|Foo]]&lt;br /&gt;
* [[commons:Bar|Bar]]&lt;br /&gt;
* [[commons:Row|Row]]&lt;br /&gt;
* [[commons:Dee|Dee]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
; Another list format, including Commons templates:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|list=&lt;br /&gt;
:[[c:Commons:Timed Text|Commons:Timed Text]]&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Commons:Template:Captions requested|Captions requested]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* {{Commons-inline|list=&lt;br /&gt;
:[[c:Commons:Timed Text|Commons:Timed Text]]&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Commons:Template:Captions requested|Captions requested]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
; Extra text&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|Work|extratext=&amp;amp;#32;Extra text}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|Work|extratext=&amp;amp;#32;Extra text}}&lt;br /&gt;
&lt;br /&gt;
; Force Commons search&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|search=Work}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|search=Work}}&lt;br /&gt;
&lt;br /&gt;
; Turn off tracking categories (for use inside other templates)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;* {{Commons-inline|Work|notrack=1}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* {{Commons-inline|Work|notrack=1}}&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;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&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;Commons gallery&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Title of Commons gallery. If empty, looks up relevant gallery or category in Wikidata&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
            &amp;quot;label&amp;quot;: &amp;quot;Display text&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Link text to display. If empty, uses gallery or category title&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;short&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Do not display any text, just logo and link&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;false&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;list&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;bulletted list to use instead of generated text&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;links&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;wikitext to use instead of default links&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;search&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If non-empty, string to search for in Commons&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;italic&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;whether to italicize link text&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;false&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;notrack&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;if true, turn off tracking categories&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;false&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;extratext&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Extra text to add after normal template result&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Add an inline link to Commons gallery or category related to article&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;2&amp;quot;,&lt;br /&gt;
		&amp;quot;italic&amp;quot;,&lt;br /&gt;
		&amp;quot;notrack&amp;quot;,&lt;br /&gt;
		&amp;quot;links&amp;quot;,&lt;br /&gt;
		&amp;quot;list&amp;quot;,&lt;br /&gt;
		&amp;quot;extratext&amp;quot;,&lt;br /&gt;
		&amp;quot;short&amp;quot;,&lt;br /&gt;
		&amp;quot;search&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&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:Inline 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;Jonesey95</name></author>
	</entry>
</feed>