<?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%3ATemplate_other%2Fdoc</id>
	<title>Template:Template other/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%3ATemplate_other%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Template_other/doc&amp;action=history"/>
	<updated>2026-04-12T17:26:51Z</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:Template_other/doc&amp;diff=33022&amp;oldid=prev</id>
		<title>Wikipedia&gt;Mdaniels5757: update High-use params</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Template_other/doc&amp;diff=33022&amp;oldid=prev"/>
		<updated>2020-02-12T02:13:35Z</updated>

		<summary type="html">&lt;p&gt;update High-use params&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;pre&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;/pre&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;pre&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;/pre&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>Wikipedia&gt;Mdaniels5757</name></author>
	</entry>
</feed>