Usage

edit
  • {{Redirect and target|AD 2000}} AD 20002000
  • {{Redirect and target|2000}} 2000 is not a redirect

It also supports redirects to anchored sections:

format:report

edit
|format=report will return alternatively, e.g.:
{{Redirect and target|format=report|AD 2000}}AD 2000 (R)2000
{{Redirect and target|format=report|2000}}2000

by invoking

edit
{{#invoke:Redirect and target|report|AD 2000}}AD 2000 (R)2000
{{#invoke:Redirect and target|report|2000}}2000

See also

edit