Difference between revisions of "Module:R from move/except"

From blackwiki
Jump to navigation Jump to search
test>Wbm1058
({{error}} if the page transcluding this template is not a redirect)
test>Wbm1058
({{error}} if the page transcluding this template is not a redirect)
Line 4: Line 4:
 
|Template:R from move/except=
 
|Template:R from move/except=
 
|#default=[[Category:Redirects from moves]]
 
|#default=[[Category:Redirects from moves]]
}}{{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|
+
}}{{#ifeq: {{NAMESPACENUMBER}}|1|
    {{#ifeq: {{NAMESPACENUMBER}}|1|
+
    {{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|
 
       {{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|
 
       {{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|
 
         {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||
 
         {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||
Line 15: Line 15:
 
       |{{#ifexist:{{SUBJECTPAGENAME}}|[[Category:Articles with talk page redirects]]}}
 
       |{{#ifexist:{{SUBJECTPAGENAME}}|[[Category:Articles with talk page redirects]]}}
 
       }}
 
       }}
 +
    |{{error|Page is not a redirect, misplaced [[Template:R from move]]}}
 
     }}
 
     }}
  |<includeonly>{{error|Page is not a redirect, misplaced [[Template:R from move]]}}</includeonly>
 
 
   }}<noinclude>
 
   }}<noinclude>
 
{{Documentation|Template:R from move/doc}}
 
{{Documentation|Template:R from move/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 18:41, 20 May 2020

This is the exception page for {{R from move}}. This page makes exceptions that include certain pages that should not inhabit either Category:Unsynchronized talk page redirects or Category:Redirects from moves. If necessary, new exceptions may be added with no need to edit the main template, {{R from move}}.

50px Module documentation[create]