Template:Redirect/doc

From Mine Blocks Wiki
< Template:Redirect
Revision as of 20:50, 10 July 2023 by Tobias Alcaraz (talk | contribs) (Created page with "This template produces a hatnote: {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4}} It is placed at the top of the article or section tha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

This template produces a hatnote:

"REDIRECT" redirects here. For USE1, see PAGE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4.

It is placed at the top of the article or section that is the primary topic of a redirect, and links to other topics that are ambiguous with the name of that redirect. This template is used instead of the generic {{for}} in order to reduce reader confusion.

Usage

The first unnamed parameter is the name of the page the user may have been redirected from.

The next eight parameters in pairs of two denote an alternate use and then a page.

  • If the use is left blank, it defaults to "for other uses".
  • If the page is left blank, it defaults to the value of the corresponding use parameter, which if blank will default to {{{1}}} (disambiguation)

Examples

{{Redirect|Foo}}

"Foo" redirects here. For other uses, see Foo (disambiguation).

{{Redirect|REDIRECT||PAGE1}}

"REDIRECT" redirects here. For other uses, see PAGE1.

{{Redirect|REDIRECT|USE1|PAGE1}}

"REDIRECT" redirects here. For USE1, see PAGE1.

{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2}}

"REDIRECT" redirects here. For USE1, see PAGE1. For USE2, see PAGE2.

{{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}

"REDIRECT" redirects here. For USE1, see PAGE1 and PAGE2.