Difference between revisions of "Template:R from move"

From blackwiki
Jump to navigation Jump to search
test>Paine Ellsworth
(simplify code)
test>Paine Ellsworth
(still needs the switch)
Line 13: Line 13:
 
   |all category=Redirects from moves</includeonly>
 
   |all category=Redirects from moves</includeonly>
 
  }}
 
  }}
}}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifexist: {{SUBJECTPAGENAME}}|{{#ifexist: {{TALKPAGENAME}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|{{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||{{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}||[[Category:Unsynchronized talk page redirects]]}}}}}}}}}}</includeonly><noinclude>
+
}}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifexist: {{SUBJECTPAGENAME}}|{{#ifexist: {{TALKPAGENAME}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|{{#switch: {{SUBPAGENAME}}
 +
  |doc=
 +
  |sandbox=
 +
  |testcases=
 +
  |#default={{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||{{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}||[[Category:Unsynchronized talk page redirects]]}}}}}}}}}}}}</includeonly><noinclude>
 
<!-- Categories are to be placed on the /doc subpage; interwikis go to Wikidata. -->
 
<!-- Categories are to be placed on the /doc subpage; interwikis go to Wikidata. -->
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:05, 2 November 2015

Template:This is a redirect/rcat

  • This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name. For more information follow the category link.
Template documentation[create]