<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/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://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3AIncorrect_namespace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Incorrect_namespace/doc&amp;action=history"/>
	<updated>2026-04-19T02:40:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Template:Incorrect_namespace/doc&amp;diff=3683&amp;oldid=prev</id>
		<title>FilipeFonseca: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Incorrect_namespace/doc&amp;diff=3683&amp;oldid=prev"/>
		<updated>2021-07-08T13:10:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;
; nocat&lt;br /&gt;
: (optional) This parameter, if set to a value other than &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;, will prevent the inclusion of {{Cat|Pages with templates in the wrong namespace}}.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Ombox&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
| type = notice&amp;lt;br/&amp;gt;&lt;br /&gt;
| text = Example text.&amp;lt;br/&amp;gt;&lt;br /&gt;
}}&amp;lt;nowiki&amp;gt;&amp;lt;includeonly&amp;gt;{{Help other|[[Category:Example category]]|&amp;lt;/nowiki&amp;gt;'''&amp;lt;nowiki&amp;gt;{{Incorrect namespace|help}}&amp;lt;/nowiki&amp;gt;'''&amp;lt;nowiki&amp;gt;}}&amp;lt;/includeonly&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{Ombox|type=notice|text=Example text.}}&lt;br /&gt;
{{Ombox|type=content|image = [[File:Ambox warning orange.svg|50px]]|text={{Error|This template should only be transcluded in the ''help'' namespace(s).}}}}&lt;br /&gt;
&lt;br /&gt;
In the above example, {{tl|Help other}} is used to add pages in the ''help'' namespace to ''Category:Example category''. For pages outside the ''help'' namespace, '''&amp;lt;nowiki&amp;gt;{{Incorrect namespace|help}}&amp;lt;/nowiki&amp;gt;''' is used to display the error message box and add the page to ''[[:Category:Pages with templates in the wrong namespace]]''. To omit the error category, use '''&amp;lt;nowiki&amp;gt;{{Incorrect namespace|help|nocat=true}}&amp;lt;/nowiki&amp;gt;'''.&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>FilipeFonseca</name></author>
	</entry>
</feed>