- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
Template:Redirect
来自Minecraft基岩版开发Wiki
This template produces a hatnote:
{{Redirect|Foo}}
→
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. An example would be when a user searches for Achilleus (as in the emperor), but ends up on the page titled Achilles (as in the mythical hero) after being redirected. A |text=
option adds text to the end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice.
举例[编辑]
{{Redirect|From1}}
{{Redirect|From1||Page1}}
{{Redirect|From1|a}}
{{Redirect|From1|a|PAGE1|b|PAGE2|c|PAGE3}}
{{Redirect|From1||From2|From3}}
{{Redirect|Achilleus|the Emperor with this name|Achilleus (emperor)|other uses|Achilles (disambiguation)}}
模板参数[编辑]
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Redirecting page | 1
|
Name of page that redirects here | 页面 | 必填 |
Use1 | 2
|
Displayed as: For Use1, see ... If left empty, defaults to For other uses, see ... | 页面 | 选填 |
Target1 | 3
|
Page to link to. Default is PAGENAME (disambiguation). | 页面 | 选填 |
Use2 | 4
|
Second use. Can be 'and' to give: For Use1, see Target1 and Target2 | 字符串 | 选填 |
Target2 | 5
|
Page to link second use to. | 页面 | 选填 |
Use3 | 6
|
Third use, can be 'and' | 字符串 | 选填 |
Target3 | 7
|
Page to link third use to. | 页面 | 选填 |
Custom text | text
|
Text to be appended to the end. | 字符串 | 选填 |
重定向[编辑]
{{Redirect to}}
参见[编辑]
{{Redirect2}}
{{Redirect3}}
{{Redirect-multi}}
{{Redirect-synonym}}
{{Redirect-distinguish}}
{{Wiktionary redirect}}
- Wikipedia:消歧义
- Category:消歧义模板