更多操作
创建页面,内容为“<includeonly>{{#invoke:redirect hatnote|redirect|1}}</includeonly><noinclude>{{/doc}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>” |
小 已保护“模板:Redirect”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
||
(没有差异)
|
2025年5月30日 (五) 13:33的最新版本
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.
Examples
- {{Redirect|Foo}} →
- {{Redirect|REDIRECT||PAGE1}} →
- {{Redirect|REDIRECT|USE1|PAGE1}} →
- {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}} →
- {{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}} →
- {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}} →
- {{Redirect|Achilleus|the Emperor with this name|Achilleus (emperor)|other uses|Achilles (disambiguation)}} →
TemplateData
This template produces a hatnote similar to: "Foo" redirects here. For other uses, see [[Foo (disambiguation)]].
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Redirecting page | 1 | Name of page that redirects here | 页面名称 | 必需 |
Use 1 | 2 | Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ... | 单行文本 | 可选 |
Target 1 | 3 | Page to link to. Default is [[PAGENAME (disambiguation)]]. | 页面名称 | 可选 |
Use 2 | 4 | Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]] | 单行文本 | 可选 |
Target 2 | 5 | Page to link second use to. | 页面名称 | 可选 |
Use 3 | 6 | Third use, can be 'and' | 单行文本 | 可选 |
Target 3 | 7 | Page to link third use to. | 页面名称 | 可选 |
Custom text | text | Text to be appended to the end. | 单行文本 | 可选 |