Template:R to category namespace
Jump to navigation
Jump to search
Template {{This is a redirect}} may be used to add from one to seven rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
When used with the "This is a redirect" (Redr) template:
This page is a redirect:
|
When used by itself:
- From outside category namespace: This is a redirect from a page outside the category namespace to a category page. This redirect page must be outside the category namespace.
- Redirects in category namespace are soft redirects, and rcats must never be used to tag soft redirects.
- Note: If this page is in category namespace, then it will populate Category:Pages with templates in the wrong namespace instead.
This template should not be substituted nor used to tag soft redirects. |
Purpose[edit source]
This redirect category (rcat) template sorts redirects into two categories:
- Category:Redirects to category space – for PNRs and CNRs, and
- 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 PBC 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.
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[edit source]
- 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}} }}
- Note: A leading colon must be used as shown above ([[:Cat...) or the redirect will populate the target category.
- 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}}
- Note: Again, a leading colon must be used as shown above ([[:Cat...) or the redirect will populate the target category.
- This is in accord with instructions found at PBC:REDCAT.
- Use this rcat to tag any redirect from a page outside of the category namespace to a category. Be careful to place a colon (:) before the word "Category" in the target as shown above. Otherwise, the redirect will actually be placed into that category, which is not to be desired.
- This rcat should never be used on a redirect that is in the category namespace that targets any other page.
Aliases[edit source]
- Also known as... – list of templates that redirect here and may also be used