Template:Redirect

From Wikipedia
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [[[:Template:Purge]]]

Template:Notice Template:High-use

This template produces a hatnote:

  • {{Redirect|Foo}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.

Its purpose is to reduce confusion by helping users get to their intended page if they were redirected to another page while, for example, searching for a topic. An example would be when a user searches for Achilleus (as in the emperor), but ends up on the page titled Achilles (as in the mythical hero) after being redirected.

Examples[Yenza izilungiso kokubhaliweyo]

  • {{Redirect|Foo}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|REDIRECT||PAGE1}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|REDIRECT|USE1|PAGE1}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}}Lua error in package.lua at line 80: module 'Module:Hatnote' not found.
  • {{Redirect|Achilleus|the Emperor with this name|Achilleus (emperor)|other uses|Achilles (disambiguation)}} (as used on the page Achilles) → Lua error in package.lua at line 80: module 'Module:Hatnote' not found.

TemplateData[Yenza izilungiso kokubhaliweyo]

Template:TemplateData header

This template produces a hatnote similar to: "Foo" redirects here. For other uses, see [[Foo (disambiguation)]].

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Redirecting page1

Name of page that redirects here

Pagerequired
Use12

Displayed as: For Use1, see ... If left empty, defaults to For other uses, see ...

Stringoptional
Target13

Page to link to. Default is [[PAGENAME (disambiguation)]].

Pageoptional
Use24

Second use. Can be 'and' to give: For Use1, see [[Target1]] and [[Target2]]

Stringoptional
Target25

Page to link second use to.

Pageoptional
Use36

Third use, can be 'and'

Stringoptional
Target37

Page to link third use to.

Pageoptional

See also[Yenza izilungiso kokubhaliweyo]

Template:Hatnote templates Template:Wikipedia template messages Template:Wikipedia editor navigation

External links[Yenza izilungiso kokubhaliweyo]