Template:Redirect: Difference between revisions

From Guild of Archivists
(Added "1" positional parameter to module invocation to explicitly set value of number of redirect strings rather than relying on the default (1).)
 
m (1 revision imported)
 

Latest revision as of 04:47, 11 July 2016

Template documentation[view] [edit] [history] [purge]

This template produces a hatnote:

Examples[edit source]

  • {{Redirect|REDIRECT}}
    "REDIRECT" redirects here. For other uses, see REDIRECT (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|USE3|PAGE3}}
    "REDIRECT" redirects here. For USE1, see PAGE1. For USE2, see PAGE2. For USE3, see PAGE3.
  • {{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}
    "REDIRECT" redirects here. For USE1, see PAGE1 and PAGE2.
  • {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}}
    "REDIRECT" redirects here. For USE1, see PAGE1. For USE2, see PAGE2 and PAGE3.

TemplateData[edit source]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Redirect

No description.

Template parameters

ParameterDescriptionTypeStatus
Redirecting page1

Name of page that redirects here

Page namerequired
Use12

Displayed as: For Use1, see ...

Stringoptional
Target13

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

Page nameoptional
Use24

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

Stringoptional
Target25

Page to link second use to.

Page nameoptional
Use36

Third use, can be 'and'

Stringoptional
Target37

Page to link third use to.

Page nameoptional

See also[edit source]

External links[edit source]