Difference between revisions of "Template:Incorrect namespace"
From LFS Manual
Jump to navigationJump to search (Created page with "<includeonly>{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifeq:{{SUBPAGENAME}}|testcases||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Sandbox||{{#ifeq:{{FULLPAGE...") |
|||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifeq:{{SUBPAGENAME}}|testcases||{{#ifeq:{{FULLPAGENAME}}| | + | <includeonly>{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifeq:{{SUBPAGENAME}}|testcases||{{#ifeq:{{FULLPAGENAME}}|LFS Manual:Sandbox||{{#ifeq:{{FULLPAGENAME}}|LFS Manual:Template index/Redirect pages|| </includeonly>{{Mbox |
| − | | type = | + | | type = warning |
| − | |||
| text = {{Error|This template should be transcluded in the ''{{{1}}}'' namespace(s) only.}} | | text = {{Error|This template should be transcluded in the ''{{{1}}}'' namespace(s) only.}} | ||
| − | }}<includeonly> | + | }}<includeonly>[[Category:Pages with templates in the wrong namespace]]}}}}}}}}}}</includeonly><noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:58, 18 February 2026
| This template should be transcluded in the {{{1}}} namespace(s) only. |
Template documentation
This template is for use in other templates in conjunction with namespace detection. It adds pages to Category: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.