Difference between revisions of "Template:Incorrect redirect template"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(omit science rcats) |
Aeverinezinn (talk | contribs) m (17 revisions) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq: | + | <includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|</includeonly>{{Mbox |
| type = content | | type = content | ||
| image = [[File:Stop hand orange.svg|50px]] | | image = [[File:Stop hand orange.svg|50px]] | ||
− | | text = {{Error|The above [[WP:RCAT|rcat]] | + | | 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>{{#ifeq:{{ | + | }}<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
The above rcat should only be used to categorize redirects that are in the {{{1}}} namespace. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |