Difference between revisions of "Template:R from move"

From All About Ayrshire
Jump to: navigation, search
m (1 revision)
en>SD0001
m (Add |id= parameter)
Line 1: Line 1:
 
<noinclude>{{hatnote|This rcat template is automatically added to all new redirects that result from page moves; it must be added manually to older redirects when appropriate.}}{{This is a redirect/rcat}}
 
<noinclude>{{hatnote|This rcat template is automatically added to all new redirects that result from page moves; it must be added manually to older redirects when appropriate.}}{{This is a redirect/rcat}}
</noinclude>{{#ifeq:{{{embed}}}|yes
+
</noinclude>{{Redirect template
|{{Redirect template
+
  |id=R from move
 
   |name=From a page move
 
   |name=From a page move
 
   |from=a page that has been moved (renamed)
 
   |from=a page that has been moved (renamed)
 
   |info=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.
 
   |info=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.
 
   |all category=Redirects from moves
 
   |all category=Redirects from moves
}}
+
}}<includeonly>{{R from move/except}}</includeonly><noinclude>
|{{Redirect template
+
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
  |from=a page that has been '''[[:Category:Redirects from moves|moved (renamed)]]'''
 
  |info=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.
 
<includeonly>
 
  |all category=Redirects from moves</includeonly>
 
}}
 
}}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifexist: {{SUBJECTPAGENAME}}|{{#ifexist: {{TALKPAGENAME}}|{{#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. -->
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:10, 24 October 2020

Template:This is a redirect/rcat

  • From a page move: 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.
Template documentation[create]