Pang-bô͘:Redirect

Wikipedia (chū-iû ê pek-kho-choân-su) beh kā lí kóng...
跳至導覽 跳至搜尋
Documentation icon Pang-bô͘ bûn-su[chhâ-khòaⁿ] [pian-chi̍p] [le̍k-sú] [kun-sin]

Pang-bô͘:About-distinguish2


This template produces a hatnote:

It is placed at the top of the article or section that is the primary topic of a redirect, and links to other topics that are ambiguous with the name of that redirect. This template is used instead of the generic {{for}} in order to reduce reader confusion.

An example would be when a user searches for the emperor Achilleus. However, the search term "Achilleus" redirects to the page titled Achilles (as in the mythical hero) because it is considered more likely the user were searching for the very well known hero than a relatively obscure emperor. Now, at the top of this Achilles page you will (among other things) find the following hatnote:

"Achilleus" redirects here. For the Roman emperor with this name, see Achilleus (Roman usurper).

That text is this template in action.

Parameters[kái goân-sí-bé]

Pang-bô͘:Expand-section A |text= option adds text to the end; note that this should only be used when truly necessary, when the other hatnote templates listed below don't suffice.

Examples[kái goân-sí-bé]

  • {{Redirect|Foo}}
    "Foo" choán koè chia. Chhōe kî-thaⁿ ēng-hoat, khòaⁿ Foo (khu-pia̍t-ia̍h).
  • {{Redirect|REDIRECT||PAGE1}}
    "REDIRECT" choán koè chia. Chhōe kî-thaⁿ ēng-hoat, khòaⁿ PAGE1.
  • {{Redirect|REDIRECT|USE1|PAGE1}}
    "REDIRECT" choán koè chia. Chhōe USE1, khòaⁿ PAGE1.
  • {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
    "REDIRECT" choán koè chia. Chhōe USE1, khòaⁿ PAGE1. Chhōe USE2, khòaⁿ PAGE2. Chhōe USE3, khòaⁿ PAGE3.
  • {{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}
    "REDIRECT" choán koè chia. Chhōe USE1, khòaⁿ PAGE1. Chhōe and, khòaⁿ PAGE2.
  • {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}}
    "REDIRECT" choán koè chia. Chhōe USE1, khòaⁿ PAGE1. Chhōe USE2, khòaⁿ PAGE2. Chhōe and, khòaⁿ PAGE3.
  • {{Redirect|Achilleus|the Emperor with this name|Achilleus (emperor)|other uses|Achilles (disambiguation)}} (as used on the page Achilles) →
    "Achilleus" choán koè chia. Chhōe the Emperor with this name, khòaⁿ Achilleus (emperor). Chhōe other uses, khòaⁿ Achilles (disambiguation).

More complex uses[kái goân-sí-bé]

For more complex cases, other templates can be used:

TemplateData[kái goân-sí-bé]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Redirect

This template produces a hatnote similar to: "Foo" redirects here. For other uses, see [[Foo (disambiguation)]].

模板參數

此模板以參數行內格式為優先。

參數描述類型狀態
Redirecting page1

Name of page that redirects here

頁面名稱必填
Use 12

Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ...

選填
Target 13

Page to link to. Default is [[PAGENAME (disambiguation)]].

頁面名稱選填
Use 24

Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]].

選填
Target 25

Page to link second use to.

頁面名稱選填
Use 36

Third use. Can be 'and'.

選填
Target 37

Page to link third use to.

頁面名稱選填
Custom texttext

Text to be appended to the end.

選填


See also[kái goân-sí-bé]

Pang-bô͘:Hatnote templates Pang-bô͘:Wikipedia templates Pang-bô͘:Wikipedia editor navigation