Template:R to category namespace

Revision as of 10:05, 31 October 2026 by Maintenance script (talk | contribs) (Localise imported template guidance and policy links; preserve index layout and licence information)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When used inside the {{Redirect category shell}} template:


When used by itself:

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R to category namespace/doc" to edit its documentation if it is available. (How does this work?)

Purpose

This redirect category (rcat) template sorts redirects into two categories:

  1. Category:Redirects to category space – for PNRs and CNRs, and
  2. Category:Unprintworthy redirects – only redirects from the main-article namespace (mainspace) to a category page
In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Mainspace redirects that target pages in the category namespace are not suitable for a printed version. In other words they are unprintworthy. See below for those rare cases that are printworthy.

This rcat is not for use on the soft redirects that are in category namespace. If placed on a category redirect, it will not populate the expected categories; it will instead be sorted to Category:Pages with templates in the wrong namespace.

No rcat should ever be used to tag any soft redirect.

Usage

  • Apply this rcat to a redirect in the following manner:
#REDIRECT [[Category:(target page name)]]

{{Rcat shell|
{{R to category namespace}}
}}
and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[Category:(target page name)]]

{{Rcat shell|
{{R to category namespace}}
{{R unprintworthy}}
}}
For rare cases that are printworthy:
#REDIRECT [[Category:(target page name)]]

{{Rcat shell|
{{R to category namespace|printworthy=yes}}
{{R printworthy}}
}}
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 [[Category:(target page name)]]

{{R to category namespace}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat to tag any redirect from a page outside of the category namespace to a category.
  • This rcat should never be used on a redirect that is in the category namespace that targets any other page.

Aliases

See also

Redirects to other namespaces family:

Note: four rcat templates in italics also sort redirects from within their namespaces.

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).