hello@defzone.netLien he
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
Template documentation[view] [edit] [history] [purge]
Shortcut
  • {{redir2Template:Redir2}}
This template uses Lua:
  • Module:Redirect hatnote (sandbox)
  • For two sources:
    • {{Redirect2|REDIRECT1|REDIRECT2}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For other uses, see REDIRECT1 (disambiguation).
    • {{Redirect2|REDIRECT1|REDIRECT2|USE}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For USE, see REDIRECT1 (disambiguation).
    • {{Redirect2|REDIRECT1|REDIRECT2||PAGE1}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For other uses, see PAGE1.
    • {{Redirect2|REDIRECT1|REDIRECT2|USE|PAGE1}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For USE, see PAGE1.
    • {{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For USE1, see PAGE1. For USE2, see PAGE2.
    • {{Redirect2|REDIRECT1|REDIRECT2|other uses|PAGE1|and|PAGE2}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For other uses, see PAGE1 and PAGE2.
    • {{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For USE1, see PAGE1. For USE2, see PAGE2. For USE3, see PAGE3.
    • {{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4}} →
      "REDIRECT1" and "REDIRECT2" redirect here. For USE1, see PAGE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4.

Alternatives

[edit]

When the two redirects have different disambiguation pages, {{redirect-multi}} is more effective:

{{redirect-multi|2|REDIRECT1|REDIRECT2}} →
"REDIRECT1" and "REDIRECT2" redirect here. For other uses, see REDIRECT1 (disambiguation) and REDIRECT2 (disambiguation).

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Redirect2 in articles based on its TemplateData.

TemplateData for Redirect2

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
First redirecting page1

Name of page that redirects here

Page namerequired
Second redirecting page2

Name of page that redirects here

Page namerequired
Use 13

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

Linerequired
Target 14

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

Page namerequired
Use 25

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

Lineoptional
Target 26

Page to link second use to.

Page nameoptional
Use 37

Third use. Can be 'and'.

Lineoptional
Target 38

Page to link third use to.

Page nameoptional
  • v
  • t
  • e
Hatnote templates
  • Wikipedia:Hatnote
  • Wikipedia:Disambiguation
  • Wikipedia:Redirect
Generic
  • {{Hatnote}}
  • {{Hatnote group}}
  • {{Self-reference}}
For and about
  • {{For}}
  • {{For-text}} (for custom text)
  • {{For-multi}} (for multiple uses)
  • {{About}}
Variations
  • {{Other uses}}
  • {{Other uses of}}
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}}
Other topics
  • {{Other people}}
  • {{About other people}} (adds "about" description)
  • {{Similar names}}
  • {{Other storms}}
  • {{Other stars by Bayer designation}}
  • {{Other places}}
  • {{Other ships}}
Redirect
  • {{Redirect}}
  • {{Redirect2}} (for two redirects)
  • {{Redirect-multi}} (for multiple redirects)
  • {{Redirect-several}} (for several redirects, without listing each)
  • {{Redirect-synonym}}
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}}
  • {{Redirect-distinguish-for}}
  • {{Technical reasons}}
Distinguish
  • {{Distinguish}} (supports custom text)
  • {{About-distinguish}}
  • {{About-distinguish-text}} (for custom text)
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}} (for custom text)
  • {{Redirect-distinguish-for}}
For use in sections
  • {{Main}}
  • {{Main if exists}}
  • {{Main list}}
  • {{Further}}
  • {{Further-text}} (for custom text)
  • {{Further interlanguage link}}
  • {{See also}}
  • {{See also-text}} (for custom text)
  • {{For outline}}
  • {{For timeline}}
Special
  • {{Broader}}
  • {{For introduction}}
  • {{See Wiktionary}}
  • {{Transcluding article}}
  • {{Transcluded section}}
Subject specific
  • {{About year}}
  • {{Highway detail hatnote}}
  • {{For LMST}}
  • {{WikiIPA}}
  • Category:Hatnote templates
    • modules
    • for [family] names
    • for lists
  • hatnote templates for category pages
The above documentation is transcluded from Template:Redirect2/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCua hangLien he

Lien he

Email: hello@defzone.net
Dien thoai: +84 999 999 999
Dia chi: 123 Duong Cong Nghe, Ha Noi

Dang ky nhan tin

Nhan bai viet va cap nhat moi nhat qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap