<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://yatawiki.xyz//yatawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_other%2Fdoc</id>
	<title>Template:Template other/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://yatawiki.xyz//yatawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_other%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://yatawiki.xyz//yatawiki/index.php?title=Template:Template_other/doc&amp;action=history"/>
	<updated>2026-04-27T21:09:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://yatawiki.xyz//yatawiki/index.php?title=Template:Template_other/doc&amp;diff=746&amp;oldid=prev</id>
		<title>AlexChillOut: 1 revision imported: infobox stuff</title>
		<link rel="alternate" type="text/html" href="https://yatawiki.xyz//yatawiki/index.php?title=Template:Template_other/doc&amp;diff=746&amp;oldid=prev"/>
		<updated>2024-04-18T11:26:35Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: infobox stuff&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-GB&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 11:26, 18 April 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&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>AlexChillOut</name></author>
	</entry>
	<entry>
		<id>https://yatawiki.xyz//yatawiki/index.php?title=Template:Template_other/doc&amp;diff=745&amp;oldid=prev</id>
		<title>en&gt;WOSlinker: syntaxhighlight lang=&quot;wikitext&quot;</title>
		<link rel="alternate" type="text/html" href="https://yatawiki.xyz//yatawiki/index.php?title=Template:Template_other/doc&amp;diff=745&amp;oldid=prev"/>
		<updated>2023-06-01T19:01:54Z</updated>

		<summary type="html">&lt;p&gt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&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;
{{Template shortcut|ns10}}&lt;br /&gt;
{{High-risk|2=yes|all-pages=yes}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a meta-template which helps other templates detect whether they are used in the &amp;quot;Template:&amp;quot; namespace.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template usually takes one or two parameters:&lt;br /&gt;
: {{tc|Template other&amp;amp;nbsp;|&amp;#039;&amp;#039;[result/action if on a template page]&amp;#039;&amp;#039;&amp;amp;#32;(|&amp;#039;&amp;#039;[result/action if on another type of page]&amp;#039;&amp;#039;)}}&lt;br /&gt;
&lt;br /&gt;
For example, if {{tlf|Template other&amp;amp;#32;|On template page&amp;amp;#32;|Not on template page}} were on a &amp;quot;Template:&amp;quot; page, it would return:&lt;br /&gt;
: {{Template other |On template page |Not on template page}}&lt;br /&gt;
On any other type of page (e.g. &amp;quot;Wikipedia:&amp;quot;, &amp;quot;User:&amp;quot;) it would return:&lt;br /&gt;
: {{Template other|demospace=other |On template page |Not on template page}}&lt;br /&gt;
&lt;br /&gt;
A typical use is to manage the categorization of template pages. Adding {{tlf|Template other&amp;amp;nbsp;|&amp;amp;#32;|{{!((}}Category:&amp;#039;&amp;#039;[category name]&amp;#039;&amp;#039;{{))!}}}} to a template, for instance, means it would only categorize a page when that page isn&amp;#039;t a template page. (The first parameter consists of nothing, so no action taken if/when the template is on a template page.)&lt;br /&gt;
&lt;br /&gt;
==Demospace==&lt;br /&gt;
The parameter {{mono|demospace}} can be used to demonstrate or test this template. By default, it is undefined and has no effect on the template&amp;#039;s action, but:&lt;br /&gt;
* when set as &amp;quot;template&amp;quot; ({{para|demospace|template}}), it prompts the template to return the &amp;#039;&amp;#039;first&amp;#039;&amp;#039; result/action above (i.e. to behave as if on a &amp;quot;Template:&amp;quot; page) even if the template is on a different type of page;&lt;br /&gt;
* when set as &amp;quot;other&amp;quot; ({{para|demospace|other}}), it prompts the template to return the &amp;#039;&amp;#039;second&amp;#039;&amp;#039; result/action above (i.e. to behave as if not on a &amp;quot;Template:&amp;quot; page) even if the template is on a &amp;quot;Template:&amp;quot; page.&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Template other&lt;br /&gt;
| demospace = template&lt;br /&gt;
| Template page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
No matter on what kind of page the code above is used, it returns:&lt;br /&gt;
{{Template other&lt;br /&gt;
| demospace = template&lt;br /&gt;
| Template page text &lt;br /&gt;
| Other pages text &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;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{template other &lt;br /&gt;
| Template page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = {{{demospace|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
This template detects &amp;quot;Template talk:&amp;quot; pages as type &amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039;. For more details relevant to this template, see {{tl|Main talk other}}, which works similarly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Namespace and pagename-detecting templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Namespace manipulation templates]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;WOSlinker</name></author>
	</entry>
</feed>