<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ATalk_other%2Fdoc</id>
	<title>Template:Talk other/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ATalk_other%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Talk_other/doc&amp;action=history"/>
	<updated>2026-07-19T18:04:42Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Template:Talk_other/doc&amp;diff=582361&amp;oldid=prev</id>
		<title>imported&gt;Tjmj：​移至子分類</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Talk_other/doc&amp;diff=582361&amp;oldid=prev"/>
		<updated>2021-10-16T07:05:18Z</updated>

		<summary type="html">&lt;p&gt;移至子分類&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- 在本行下編輯模板說明 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|talk other}} meta-template.&lt;br /&gt;
&lt;br /&gt;
This template helps other templates detect if they are on a talk page or some &amp;quot;other&amp;quot; type of page.&lt;br /&gt;
&lt;br /&gt;
=== 用法 ===&lt;br /&gt;
&lt;br /&gt;
這模板包含兩個參數，像這樣：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{talk other |討論頁產生文字|其他頁產生文字}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
如果把這模板放在討論頁上，模板返回：&lt;br /&gt;
&lt;br /&gt;
:{{talk other | demospace=talk |討論頁產生文字|其他頁產生文字}}&lt;br /&gt;
&lt;br /&gt;
如果把這模板放在其他頁面上，模板返回：&lt;br /&gt;
&lt;br /&gt;
:{{talk other |討論頁產生文字|其他頁產生文字}}&lt;br /&gt;
&lt;br /&gt;
A typical usage case could be to make it so that a template only adds a category when on talk pages. Thus not adding other pages that just show the template. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talk other | [[Category:Some talk page category]] }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or to warn that a template should not be used on other pages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talk other | | This template should only be used on talk pages. }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in the first case above the &amp;quot;other&amp;quot; parameter was not used, and in the second example the &amp;quot;talk&amp;quot; parameter was left empty.&lt;br /&gt;
&lt;br /&gt;
=== Demospace ===&lt;br /&gt;
&lt;br /&gt;
為進行測試和示範，這模板有一個參數名為&amp;#039;&amp;#039;&amp;#039;demospace&amp;#039;&amp;#039;&amp;#039;。&lt;br /&gt;
&lt;br /&gt;
* 如果值為&amp;#039;&amp;#039;&amp;#039;talk&amp;#039;&amp;#039;&amp;#039;，則返回討論頁產生文字。&lt;br /&gt;
* 如果值為&amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039;或其他值，則返回其他頁產生文字。&lt;br /&gt;
* 如果參數為空或未被定義，頁面決定結果。&lt;br /&gt;
&lt;br /&gt;
像這樣：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talk other &lt;br /&gt;
|討論頁產生文字&lt;br /&gt;
|其他頁產生文字&lt;br /&gt;
|demospace = talk&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
無論在什麼頁面都會返回：&lt;br /&gt;
&lt;br /&gt;
:{{talk other &lt;br /&gt;
|討論頁產生文字&lt;br /&gt;
|其他頁產生文字&lt;br /&gt;
|demospace = talk&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You can make it so your template also understands the &amp;#039;&amp;#039;&amp;#039;demospace&amp;#039;&amp;#039;&amp;#039; parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talk other &lt;br /&gt;
| Talk pages text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = {{{demospace|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
This template detects all types of talk pages as type &amp;#039;&amp;#039;&amp;#039;talk&amp;#039;&amp;#039;&amp;#039;. That is, &amp;quot;Talk:&amp;quot;, &amp;quot;User talk:&amp;quot;, &amp;quot;File talk:&amp;quot; and so on are all of type &amp;#039;&amp;#039;&amp;#039;talk&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
This template works like {{tl|main talk other}}, for more examples and technical details see full documentation there. &lt;br /&gt;
&lt;br /&gt;
=== 參見 ===&lt;br /&gt;
&lt;br /&gt;
{{namespace detect see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:命名空間操作模板]]&lt;br /&gt;
[[Category:討論頁模板]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Tjmj</name></author>
	</entry>
</feed>