redirect

Pang-bô͘:About-distinguish2

Documentation icon Pang-bô͘ bûn-su


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

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

  • {{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)}} (as used on the page Achilles) →

More complex uses

For more complex cases, other templates can be used:

  • {{Redirect2}} (when there are two incoming redirects)
  • {{Redirect-multi}} (for two or more redirects)
  • {{Redirect-several}} (for several redirects, without listing each)
  • {{Redirect-distinguish}}
  • {{Technical reasons}}

TemplateData

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

                  • {{no redirect}}, {{-r}}
                  • {{redirect}} — hatnote "Foo redirects here ..."
                  • {{is redirect}} — returns yes/

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

                  Tags:

                  🔥 Trending searches on Wiki Bân-lâm-gú:

                  Tâi-oân būn-têChú-khoân kok-ka1920 nîWayback Machine5 goe̍h 3 ji̍tWiktionaryISO 8601So͘-liânWilliam HarroldTek-kokHayʼat Taḥrīr al-ShāmMarie AntoinetteBêng-tiâuSàn-chhiahSèng-hêng-ûiÒ-chiuA-chiu tāi-lio̍kWindows XPDeer Trail (Colorado)Tāi-chiòng bûn-hòaTâi-pak-chhīSi̍t-bu̍tHiong-lô͘WikisourceHong-thai Megi (2016 nî)Bí-kok Kun-tūiSakanoue no TamuramaroTāi-pi̍tWikipediaNonceGeorgiaTāi Tang-a Kiōng-êng-khoanBo̍k-su-khoVänga Kàu-khuC SharpLaluengaJi̍t-pún Kok-tō 403-hōMłada HoraNovobakhmutivka (Soloviovska silska rada)Ìn-nîJames 2-sè (Eng-lân)Kang-hōeNovobakhmutivka (Novobakhmutivskyi silskyi okruh)Gruzia-gíBí-kimChinggis KhanNicolas CageDjVuChū-tōng-chhiaVallemaggia KoānBāng-lō·Alfred Russel WallaceIâ-so͘ Ki-tok Āu-kî Sèng-tô͘ Kàu-hōeChóng-thé-keng-chè-ha̍kWikibooksUkrainaWikimediaSomalilandAzerbaijanKok-lāi chóng seng-sánTiong-iong gîn-hângPêng-hong kong-líRobert Bruce MerrifieldEBayBân-lâm-gúWikiquoteTalibanGeorge 3-sè (Liân-ha̍p Ông-kok)Galesville (Wisconsin)🡆 More