Difference between revisions of "Template:Incorrect redirect template"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(exclude /doc pages)
m (17 revisions)
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifeq:{{SUBPAGENAME}}|testcases||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Sandbox||</includeonly>{{Mbox
+
<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|</includeonly>{{Mbox
 
| type = content
 
| type = content
| text = {{Error|The above [[WP:RCAT|Rcat]] should only be used to categorize redirects that are in the ''{{{1}}}'' namespace(s).}}
+
| image = [[File:Stop hand orange.svg|50px]]
}}<includeonly>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|[[Category:Pages with templates in the wrong namespace]]|<!-- Category suppressed -->}}}}}}}}}}</includeonly><noinclude>
+
| text = {{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that are {{#ifeq:{{{3}}}|outside|outside|in}} the ''{{{1}}}'' namespace{{#if:{{{2|}}}|{{nbsp}}{{#if:{{{3|}}}|and|or}} the ''{{{2}}}'' namespace.|.}}}}
 
+
}}<includeonly>[[Category:Pages with templates in the wrong namespace]]}}{{#ifeq: {{NAMESPACE}}|Category|{{Mbox
 +
| type = content
 +
| image = [[File:Stop hand orange.svg|50px]]
 +
| text = {{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that are {{#ifeq:{{{3}}}|outside|outside|in}} the ''{{{1}}}'' namespace{{#if:{{{2|}}}|{{nbsp}}{{#if:{{{3|}}}|and|or}} the ''{{{2}}}'' namespace.|.}}}}
 +
}}[[Category:Pages with templates in the wrong namespace]]}}{{#ifeq: {{NAMESPACE}}|User|{{Mbox
 +
| type = content
 +
| image = [[File:Stop hand orange.svg|50px]]
 +
| text = {{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that are {{#ifeq:{{{3}}}|outside|outside|in}} the ''{{{1}}}'' namespace{{#if:{{{2|}}}|{{nbsp}}{{#if:{{{3|}}}|and|or}} the ''{{{2}}}'' namespace.|.}}}}
 +
}}[[Category:Pages with templates in the wrong namespace]]}}{{#ifeq: {{NAMESPACE}}|Wikipedia|{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Sandbox||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Template messages/Redirect pages||{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Scouting/Templates||{{Mbox
 +
| type = content
 +
| image = [[File:Stop hand orange.svg|50px]]
 +
| text = {{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that are {{#ifeq:{{{3}}}|outside|outside|in}} the ''{{{1}}}'' namespace{{#if:{{{2|}}}|{{nbsp}}{{#if:{{{3|}}}|and|or}} the ''{{{2}}}'' namespace.|.}}}}
 +
}}[[Category:Pages with templates in the wrong namespace]]}}}}}}}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:20, 23 July 2016

Documentation icon Template documentation[create]