Template:Redirect2
Appearance
This template uses Lua: |
- For two sources:
{{Redirect2|REDIRECT1|REDIRECT2}}
→{{Redirect2|REDIRECT1|REDIRECT2|USE}}
→{{Redirect2|REDIRECT1|REDIRECT2||PAGE1}}
→{{Redirect2|REDIRECT1|REDIRECT2|USE|PAGE1}}
→{{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2}}
→{{Redirect2|REDIRECT1|REDIRECT2|other uses|PAGE1|and|PAGE2}}
→{{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
→{{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4}}
→
Alternatives
When the two redirects have different disambiguation pages, {{redirect-multi}}
is more effective:
{{redirect-multi|2|REDIRECT1|REDIRECT2}}
→
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Redirect2 in articles based on its TemplateData.
TemplateData for Redirect2
This template produces a hatnote similar to: "Foo" and "Bar" redirects here. For other uses, see [[Foo (disambiguation)]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
First redirecting page | 1 | Name of page that redirects here | Page name | required |
Second redirecting page | 2 | Name of page that redirects here | Page name | required |
Use 1 | 3 | Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ... | Line | required |
Target 1 | 4 | Page to link to. Default is [[REDIRECT1 (disambiguation)]]. | Page name | required |
Use 2 | 5 | Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]]. | Line | optional |
Target 2 | 6 | Page to link second use to. | Page name | optional |
Use 3 | 7 | Third use. Can be 'and'. | Line | optional |
Target 3 | 8 | Page to link third use to. | Page name | optional |