Bước tới nội dung

Bản mẫu:R avoided double redirect

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Khi được sử dụng với bản mẫu "Redirect category shell" (Rcat shell):

Bản mẫu {{Redirect category shell}} có thể được sử dụng để thêm một hoặc nhiều bản mẫu rcat, cùng với các tham số và thể loại của chúng, để đổi hướng. Để biết thêm thông tin xem trang tài liệu dưới đây.

Khi được sử dụng bởi chính nó:

  • Từ một đổi hướng kép được tránh: Trang này là trang đổi hướng từ một tiêu đề thay thế hoặc chủ đề có liên quan của (redirect page name), một trang đổi hướng khác tới cùng tiêu đề. Do không cho phép việc đổi hướng kép, cả hai trang hiện được trỏ tới (target article).
    • Nếu (redirect page name) được chỉ định lại trang đích hoặc được mở rộng thành một bài viết, bản mẫu, hoặc trang dự án khác riêng biệt, trang đổi hướng này sẽ được xếp lại thể loại để cập nhật.


Some redirects should target other redirects, but that is not allowed by Wikipedia software. A redirect that targets another redirect is called a "double redirect". This redirect category (rcat) template may be used to tag redirects from alternative forms (abbreviations, disambiguated titles, etc.) of titles that are themselves redirects to broader-topic articles (whether or not marked as redirects with possibilities). To avoid a double redirect, any alternative-title redirect must also target the same broader article, and must be updated if the redirect from the more specific title is converted to a separate article.

#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R avoided double redirect|1=(specified page)}}
}}
or the 1= may be omitted:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R avoided double redirect|(specified page)}}
}}
The "(specified page)" is the other redirect that has possibilities of being converted into an article, and to which the tagged redirect may someday be retargeted.
Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[(target article title)]]

{{R avoided double redirect|(specified page)}}
This is in accord with instructions found at Wikipedia:REDCAT.
#REDIRECT [[Voyage to the Bottom of the Sea (TV series)]]

{{Rcat shell|
{{R avoided double redirect|Harriman Nelson}}
{{R unprintworthy}}
}}
or if applied individually:
#REDIRECT [[Voyage to the Bottom of the Sea (TV series)]]

{{R avoided double redirect|Harriman Nelson}}
The individual usage on the Admiral Harriman Nelson redirect would display (without the border):


  • Từ một đổi hướng kép được tránh: Trang này là trang đổi hướng từ một tiêu đề thay thế hoặc chủ đề có liên quan của Harriman Nelson, một trang đổi hướng khác tới cùng tiêu đề.
    • Đây là trang đổi hướng hỏng (trang đích của nó không tồn tại).


If a new article is later created at Harriman Nelson, then the template output on the Admiral Harriman Nelson redirect will automatically change to:


  • Từ một đổi hướng kép được tránh: Trang này là trang đổi hướng từ một tiêu đề thay thế hoặc chủ đề có liên quan của Harriman Nelson, một trang đổi hướng cũ tới cùng tiêu đề.
    • Đây là trang đổi hướng hỏng (trang đích của nó không tồn tại).


In the first case above, the boldface From an avoided double redirect would actually link to the main category, Đổi hướng kép được tránh, and in the second case the link would automatically be altered to Thể loại:Đổi hướng kép được tránh sắp được cập nhật.

Usage with other redirect categories

[sửa mã nguồn]

Avoided double redirects are considered to inherit the redirect categories of the initial redirect and should not be placed in redirect categories that apply in the same way to both. (This would create a redundancy that would increase the maintenance burden.) For instance, say Campus of Foobar University is a redirect to Foobar University tagged with {{R from subtopic}} and {{R to section}}. The avoided double redirect, Foobar University campus, should be tagged only with {{R from avoided double redirect}}, not {{R from subtopic}} and {{R to section}}.

However, additional redirect categories may be used when they apply specifically to the avoided double redirect. For instance, Campus of Fooobar University (with a triple o) could have {{R from misspelling}} in addition to {{R from avoided double redirect}}.

{{R printworthy}} and {{R unprintworthy}} may be used when appropriate.

Printworthiness

[sửa mã nguồn]
  • In main-article namespace, many redirects from avoided double redirects are considered printworthy; however, there are many others that are unprintworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Some rcats automatically populate either Thể loại:Printworthy redirects or Thể loại:Unprintworthy redirects by default. Others, like this rcat, do not, and that means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
Please click on each one for more details and guidance.
Examples:
{{Rcat shell|
{{R avoided double redirect|(specified page)}}
{{R printworthy}}
}}

{{Rcat shell|
{{R avoided double redirect|(specified page)}}
{{R unprintworthy}}
}}
Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.

TemplateData

[sửa mã nguồn]
Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho R avoided double redirect

This redirect category (rcat) template may be used to tag redirects from alternative forms (abbreviations, disambiguated titles, etc.) of titles that are themselves redirects to broader-topic articles (whether or not marked as redirects with possibilities). To avoid a double redirect, any alternative-title redirect must also target the same broader article, and must be updated if the redirect from the more specific title is converted to a separate article.

Tham số bản mẫu

Nên dùng bản mẫu này với các tham số đặt trên cùng một hàng.

Tham sốMiêu tảKiểuTrạng thái
Redirect page name1

The page this redirect would target if the page wasn't also a redirect.

Tên trangbắt buộc