Difference between revisions of "Module:R from move/except"
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: {{NAMESPACENUMBER}}|1| | |
| − | + | {{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes| | |
| − | + | {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}|| | |
| − | + | {{#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> | |
| − | |||
| − | }}<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}}.
| You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Subpages of this module. |