Template:Redirect/doc
From Guild of Archivists
This is a documentation subpage for Template:Redirect. It contains usage information, categories and other content that is not part of the original template page. |
Using this template does not create a redirect. See
|
This template is used on 28,000+ pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Uses Lua: |
This template produces a hatnote:
{{Redirect|REDIRECT}}
→"REDIRECT" redirects here. For other uses, see REDIRECT (disambiguation).
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|REDIRECT|USE1|PAGE1|and|PAGE2}}
→{{Redirect|REDIRECT|USE1|PAGE1|USE2|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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Redirecting page | 1 | Name of page that redirects here | Page name | required |
Use1 | 2 | Displayed as: For Use1, see ... | String | optional |
Target1 | 3 | Page to link to. Default is [[PAGENAME (disambiguation)]]. | Page name | optional |
Use2 | 4 | Second use. Can be 'and' to give: For Use1, see [[Target1]] and [[Target2]] | String | optional |
Target2 | 5 | Page to link second use to. | Page name | optional |
Use3 | 6 | Third use, can be 'and' | String | optional |
Target3 | 7 | Page to link third use to. | Page name | optional |
See also[edit source]
External links[edit source]