Template:Incorrect namespace/doc: Difference between revisions

Content deleted Content added
mNo edit summary
updating
Line 2:
{{Substitution|not}}
 
===Usage===
This template is for use in other templates in conjunction with namespace detection. It adds pages to [[:Category:Pages with incorrectly transcluded templates]],. exceptThe sub-pagestemplate namedhas "doc"been designed (to avoidnot addingwork the category toin the documentationtemplate sub-pagesnamespace ofso templates which usetranscluding this template) can be viewed normally.
 
{{tl|Single namespace}} can be used instead of this template if only one namespace is specified (such as in the example below).
 
====Parameters====
The parameter inserts text in the message to specify the namespace the template in question should use.
 
====Example====
<code><nowiki>{{Ombox</nowiki><br/>
| type = notice<br/>
Line 22 ⟶ 23:
 
In the above example, transcluding the message box will categorise help namespace pages into [[:Category:Example category]] and produce this template underneath the message box for pages outside the help namespace.
 
===See also===
*[[Template:Single namespace]]
 
<includeonly>