<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AIncorrect_namespace%2Fdoc</id>
	<title>Template:Incorrect namespace/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AIncorrect_namespace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Incorrect_namespace/doc&amp;action=history"/>
	<updated>2026-04-29T10:07:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:Incorrect_namespace/doc&amp;diff=16500025&amp;oldid=prev</id>
		<title>imported&gt;CalendulaAsteraceae: /* Usage */ update</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Incorrect_namespace/doc&amp;diff=16500025&amp;oldid=prev"/>
		<updated>2024-05-28T18:51:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; update&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;
{{nosubst}}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template is for use in other templates in conjunction with namespace detection. It adds pages to {{Cat|Pages with templates in the wrong namespace}}. The template has been designed to not work in the template namespace so templates transcluding this template can be viewed normally. The template also does not work on sub-pages titled &amp;quot;sandbox&amp;quot; or &amp;quot;testcases&amp;quot; or on [[Wikipedia:Sandbox]].&lt;br /&gt;
&lt;br /&gt;
{{tlx|Single namespace}} can be used instead of this template if only one namespace is specified (such as in the example below).&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
; unnamed parameter 1&lt;br /&gt;
: (required) This parameter inserts text in the message to specify the namespace the template in question should use.&lt;br /&gt;
&lt;br /&gt;
; {{parameter|nocat}}&lt;br /&gt;
: (optional) when set to a positive value (&amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;), will prevent the inclusion of {{Cat|Pages with templates in the wrong namespace}}. See [[Wikipedia:Category suppression]]&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Ombox&lt;br /&gt;
| type = notice&lt;br /&gt;
| text = Example text.&lt;br /&gt;
}}&amp;lt;includeonly&amp;gt;{{Help other|[[Category:Example category]]|{{Incorrect namespace|help}}}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{Ombox&lt;br /&gt;
| type = notice&lt;br /&gt;
| text = Example text.&lt;br /&gt;
}}&lt;br /&gt;
{{Mbox&lt;br /&gt;
| type = content&lt;br /&gt;
| image = [[File:Ambox warning orange.svg|50px|link=|alt=]]&lt;br /&gt;
| text = {{Error|This template should only be transcluded in the &amp;#039;&amp;#039;help&amp;#039;&amp;#039; namespace(s).}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
In the above example, {{tl|Help other}} is used to add pages in the &amp;#039;&amp;#039;help&amp;#039;&amp;#039; namespace to &amp;#039;&amp;#039;Category:Example category&amp;#039;&amp;#039;. For pages outside the &amp;#039;&amp;#039;help&amp;#039;&amp;#039; namespace, &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{Incorrect namespace|help}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; is used to display the error message box and add the page to &amp;#039;&amp;#039;[[:Category:Pages with templates in the wrong namespace]]&amp;#039;&amp;#039;. To omit the error category, use &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{Incorrect namespace|help|nocat=true}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Single namespace}}&lt;br /&gt;
* {{tl|Incorrect redirect template}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;CalendulaAsteraceae</name></author>
	</entry>
</feed>