<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xentax.spektr.name:443/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://wiki.xentax.spektr.name:443/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_other%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Template:Template_other/doc&amp;action=history"/>
	<updated>2026-04-04T14:05:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Template:Template_other/doc&amp;diff=56361&amp;oldid=prev</id>
		<title>imported&gt;Dinoguy1000: from wikipedia:Template:Template other/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Template:Template_other/doc&amp;diff=56361&amp;oldid=prev"/>
		<updated>2010-12-08T04:57:57Z</updated>

		<summary type="html">&lt;p&gt;from &lt;a href=&quot;https://en.wikipedia.org/wiki/Template:Template_other/doc&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Template:Template other/doc&quot;&gt;wikipedia:Template:Template other/doc&lt;/a&gt;&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 04:57, 8 December 2010&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>imported&gt;Dinoguy1000</name></author>
	</entry>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Template:Template_other/doc&amp;diff=37365&amp;oldid=prev</id>
		<title>imported&gt;Dinoguy1000: from wikipedia:Template:Template other/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Template:Template_other/doc&amp;diff=37365&amp;oldid=prev"/>
		<updated>2010-12-08T04:57:57Z</updated>

		<summary type="html">&lt;p&gt;from &lt;a href=&quot;https://en.wikipedia.org/wiki/Template:Template_other/doc&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Template:Template other/doc&quot;&gt;wikipedia:Template:Template other/doc&lt;/a&gt;&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;
{{high-risk| 190,000+ }}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|template other}} meta-template.&lt;br /&gt;
&lt;br /&gt;
It helps other templates detect if they are on a &amp;quot;Template:&amp;quot; page or some &amp;quot;other&amp;quot; type of page.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
This template usually takes two parameters, like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{template other | Template page text | Other pages text }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the template is on a &amp;quot;Template:&amp;quot; page, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{template other | Template page text | Other pages text }}&lt;br /&gt;
&lt;br /&gt;
If the template is on any other page, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{template other | demospace=other | Template page text | Other pages text }}&lt;br /&gt;
&lt;br /&gt;
A typical usage case could be to make it so that a template only adds a category when not on a template page. Thus not adding the template itself and other templates that are built with it to the category. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{template other | | [[Category:Some maintenance category]] }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in the example above the &amp;quot;template&amp;quot; parameter was left empty.&lt;br /&gt;
&lt;br /&gt;
=== Demospace ===&lt;br /&gt;
&lt;br /&gt;
For testing and demonstration purposes this template can take a parameter named &amp;#039;&amp;#039;&amp;#039;demospace&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
* If it has the value &amp;#039;&amp;#039;&amp;#039;template&amp;#039;&amp;#039;&amp;#039; it returns the template page text.&lt;br /&gt;
* It if has the value &amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039; or any other value such as the name of some other namespace it returns the other pages text.&lt;br /&gt;
* If the parameter is empty or undefined, the actual page type determines the result.&lt;br /&gt;
&lt;br /&gt;
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 = template&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No matter on what kind of page the code above is used it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{template other &lt;br /&gt;
| Template page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = template&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;
&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;.&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;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
{{namespace detect see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&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>imported&gt;Dinoguy1000</name></author>
	</entry>
</feed>