Template:R from move: Difference between revisions

From Vigyanwiki
Template>Paine Ellsworth
(restrict to talk pages of mainspace articles for now)
Template>Paine Ellsworth
(adjust to correct errors as noted on talk page)
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: {{NAMESPACENUMBER}}|1|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|{{#switch: {{SUBPAGENAME}}
}}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifeq: {{NAMESPACENUMBER}}|1|{{#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>
  |doc=
<!-- Categories are to be placed on the /doc subpage; interwikis go to Wikidata.-->
  |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. -->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 22:48, 20 January 2016

When used with the "Redirect category shell" (Rcat shell) template:

Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.

When used by itself:

  • 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 bold category link.
Template documentation