Template:Redirect/doc
外观
此頁面是Template:Redirect的模板文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
Using this template does not create a redirect. The following pages may have what you are looking for:
|
此模板文档被引用於約1,700個頁面。 為了避免造成大規模的影響,所有對此模板文档的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
本模板使用 Lua 语言: |
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:消歧义模板
外部链接
[编辑源代码]Template:Commons-inline at Wikimedia Commons.
|