Difference between revisions of "Template:Incorrect namespace/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(new test)
imported>Paine Ellsworth
(restore to original code)
Line 1: Line 1:
{{Mbox
+
<includeonly>{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifeq:{{SUBPAGENAME}}|testcases||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Sandbox||</includeonly>{{Mbox
 
| type = content
 
| type = content
| text = {{Error|The above template should only be transcluded in the ''{{{1}}}'' namespace(s).}}
+
| text = The template {{#if:{{{1|}}}|{{<includeonly>subst:</includeonly>PAGENAME}}}} should only be transcluded in the {{{1}}} namespace.
}}<includeonly>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|[[Category:Pages with templates in the wrong namespace]]|<!-- Category suppressed -->}}</includeonly><noinclude>
+
}}
 +
<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/doc||{{{category|[[Category:Pages with incorrectly transcluded templates]]}}}}}</includeonly><noinclude>
  
 
{{Template sandbox notice}}
 
{{Template sandbox notice}}
 
</noinclude>
 
</noinclude>

Revision as of 20:01, 19 December 2013