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

From blackwiki
Jump to navigation Jump to search
test>Wbm1058
(fix)
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: {{NAMESPACENUMBER}}|1|
+
}}{{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|
{{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|
+
    {{#ifeq: {{NAMESPACENUMBER}}|1|
  {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||
+
      {{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|
  {{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}||
+
        {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||
    {{#ifeq: {{Str left|{{PAGENAME}}|16}}|List of ships of||[[Category:Unsynchronized talk page redirects]]
+
          {{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}||
 +
            {{#ifeq: {{Str left|{{PAGENAME}}|16}}|List of ships of||[[Category:Unsynchronized talk page redirects]]
 +
            }}
 +
          }}
 +
        }}
 +
      |{{#ifexist:{{SUBJECTPAGENAME}}|[[Category:Articles with talk page redirects]]}}
 +
      }}
 
     }}
 
     }}
  }}
+
   |<includeonly>{{error|Page is not a redirect, misplaced [[Template:R from move]]}}</includeonly>
   }}
+
  }}<noinclude>
|{{#ifexist:{{SUBJECTPAGENAME}}|[[Category:Articles with talk page redirects]]}}}}
 
}}<noinclude>
 
 
{{Documentation|Template:R from move/doc}}
 
{{Documentation|Template:R from move/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 17:52, 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]