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

siu-kái

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

siu-kái
  • {{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

siu-kái

For more complex cases, other templates can be used:

TemplateData

siu-kái
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

siu-kái

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