This is a documentation subpage for 模板:Redirect2. It may contain usage information, categories and other content that is not part of the original 模板 page. |
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>}}
→
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)]].
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
First redirecting page | 1 | Name of page that redirects here | 页面名称 | 必需 |
Second redirecting page | 2 | Name of page that redirects here | 页面名称 | 必需 |
Use 1 | 3 | Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ... | 单行文本 | 必需 |
Target 1 | 4 | Page to link to. Default is [[REDIRECT1 (disambiguation)]]. | 页面名称 | 必需 |
Use 2 | 5 | Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]]. | 单行文本 | 可选 |
Target 2 | 6 | Page to link second use to. | 页面名称 | 可选 |
Use 3 | 7 | Third use. Can be 'and'. | 单行文本 | 可选 |
Target 3 | 8 | Page to link third use to. | 页面名称 | 可选 |