Template:R to category namespace
From TechInfoDepot
Jump to navigationJump to search- This is a redirect from a page outside the category namespace to a category page. This redirect page must be outside the category namespace. For more information follow the category link.
- Redirects in category namespace are soft redirects; 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. |
Purpose
This redirect category (rcat) template sorts redirects into two categories:
- Category:Redirects to category space – for cross-namespace redirects, and
- Category:Unprintworthy redirects – only redirects from the main-article namespace (mainspace)
- At some point in the future, Jimmy Wales wants to make more printed versions of TechInfoDepot encyclopedia articles. 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 be used to tag any soft redirect.
Usage
Use this rcat template in any namespace except category namespace.
- Apply this rcat to a redirect in the following manner:
#REDIRECT [[:Category:(target page name)]] {{R to category namespace}}
- Note: 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 TechInfoDepot:REDCAT.
- Template {{This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
- Use this rcat on all redirects to a category from a page outside of the category namespace. 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
- Also known as... – list of templates that redirect here and may also be used
See also
The above documentation is transcluded from Template:R to category namespace/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |