Template:Redirect and target

Revision as of 16:08, 21 February 2023 by Wikipedia>DePiep (add option 'report')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Redirect and target/doc" to edit its documentation if it is available. (How does this work?)

Purpose

Usage

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

It also supports redirects to anchored sections:

  • {{Redirect and target|WP:BRINT}} WP:BRINT is not a redirect

format:report

|format=report will return alternatively, e.g.:
{{Redirect and target|format=report|AD 2000}} → AD 2000
{{Redirect and target|format=report|2000}} → 2000

by invoking

{{#invoke:Redirect and target|report|AD 2000}} → AD 2000
{{#invoke:Redirect and target|report|2000}} → 2000

See also