<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.undertensai.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ACommons_category%2Fdoc</id>
	<title>模板:Commons category/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.undertensai.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ACommons_category%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Commons_category/doc&amp;action=history"/>
	<updated>2026-11-17T03:33:06Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Commons_category/doc&amp;diff=23879&amp;oldid=prev</id>
		<title>wiki&gt;MathXplore：​Reverted edits by 2806:105E:19:3BAB:6543:9C4D:485:23FF (talk) to last version by Rebulka: reverting vandalism</title>
		<link rel="alternate" type="text/html" href="https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Commons_category/doc&amp;diff=23879&amp;oldid=prev"/>
		<updated>2024-04-09T02:05:53Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/2806:105E:19:3BAB:6543:9C4D:485:23FF&quot; title=&quot;特殊:用户贡献/2806:105E:19:3BAB:6543:9C4D:485:23FF&quot;&gt;2806:105E:19:3BAB:6543:9C4D:485:23FF&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%E7%94%A8%E6%88%B7%E8%AE%A8%E8%AE%BA:2806:105E:19:3BAB:6543:9C4D:485:23FF&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;用户讨论:2806:105E:19:3BAB:6543:9C4D:485:23FF（页面不存在）&quot;&gt;talk&lt;/a&gt;) to last version by Rebulka: reverting vandalism&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Languages|Template:Commons category/doc}}&lt;br /&gt;
{{tl|Commons category}} links to a &amp;quot;Category:&amp;quot; name in the [[Wikimedia Commons]] repository. If that category name is misspelled or missing, the link will still appear &amp;quot;blue&amp;quot; even though the link will fail. Check the existence of the category on commons as well as the spelling of names carefully. In articles, this template should be placed at the top of the last section on the page.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Commons category|&amp;#039;&amp;#039;catname&amp;#039;&amp;#039;}} || – || Puts link-box connecting title &amp;#039;&amp;#039;catname&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Commons category|&amp;#039;&amp;#039;catname&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;
|}&lt;br /&gt;
&lt;br /&gt;
The two parameters &amp;#039;&amp;#039;catname&amp;#039;&amp;#039; and &amp;#039;&amp;#039;showname&amp;#039;&amp;#039; (1 &amp;amp; 2) are optional, and are intended for cases where the Commons category name is different from the Wikipedia page name. The first parameter is the name of the corresponding category on the Wikimedia Commons, &amp;#039;&amp;#039;without&amp;#039;&amp;#039; the &amp;quot;&amp;lt;code&amp;gt;Category:&amp;lt;/code&amp;gt;&amp;quot; prefix. If this first parameter is used, then the template will display the Commons category name, which may be confusing to readers. This text can be overridden by the second parameter, where the Wikipedia page name would typically be used.&lt;br /&gt;
&lt;br /&gt;
{{Commons category|Ursus maritimus|Polar bears}}&lt;br /&gt;
For example, on the [[w:en:Polar bear]] page, {{tlc|Commons category|Ursus maritimus|Polar bears}} produces a link to [[Commons:Category:Ursus maritimus]] displayed as &amp;quot;[[Commons:Category:Ursus maritimus|Polar bears]]&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
[[File:Sister link template columns problem.jpg|thumb|If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different &amp;#039;&amp;#039;sister template&amp;#039;&amp;#039;.]]&lt;br /&gt;
&lt;br /&gt;
{{cross}} &amp;#039;&amp;#039;&amp;#039;Do not place this template in a section all by itself without floating left.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{cross}} &amp;#039;&amp;#039;&amp;#039;Do not place this template in a section containing columns without floating left.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&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;description&amp;quot;: {&lt;br /&gt;
		&amp;quot;en&amp;quot;: &amp;quot;This template creates a small box containing a link to a category on Commons. If no value is provided the page name is used.&amp;quot;,&lt;br /&gt;
		&amp;quot;cs&amp;quot;: &amp;quot;Tato šablona vytvoří malý rámeček obsahující odkaz na kategorii na Commons. Není-li zadána žádná hodnota, použije se název stránky.&amp;quot;&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;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Category name&amp;quot;,&lt;br /&gt;
				&amp;quot;cs&amp;quot;: &amp;quot;Název kategorie&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;description&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;The name of the Commons category this template will link to. If no value is provided then the page name is used.&amp;quot;,&lt;br /&gt;
				&amp;quot;cs&amp;quot;: &amp;quot;Název kategorie Commons, na kterou bude tato šablona odkazovat. Není-li zadána žádná hodnota, použije se název stránky.&amp;quot;&lt;br /&gt;
			},&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;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Displayed text&amp;quot;,&lt;br /&gt;
				&amp;quot;cs&amp;quot;: &amp;quot;Zobrazený text&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;description&amp;quot;:  {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;The text that the link will display to the user. If no value is provided it will default to category name or page name, in that order.&amp;quot;,&lt;br /&gt;
				&amp;quot;cs&amp;quot;: &amp;quot;Text, který odkaz zobrazí uživateli. Pokud není zadána žádná hodnota, použije se jako výchozí název kategorie nebo název stránky v tomto pořadí.&amp;quot;&lt;br /&gt;
			},&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;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/TemplateData&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Redirects==&lt;br /&gt;
* {{Tl|Commonscat}}&lt;/div&gt;</summary>
		<author><name>wiki&gt;MathXplore</name></author>
	</entry>
</feed>