Template:Category redirect
From Wikipedia, the free encyclopedia
![]() | This category is located at [[:Category:{{{1}}}]].
See the instructions for more information. Administrators: If this category name is unlikely to be entered on new pages, and all incoming links have been cleaned up, click here to delete. |
- This template should only be used on category pages.
![]() | This template is used on approximately 110,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | This template should not be substituted. |
![]() | This template is used by one or more bots.
If you intend to change this template in any significant way, move or nominate it for deletion, please inform the bot operators. Thank you. The relevant bots are: JJMC89 bot and RussBot. |
Instructions
Example: To redirect from Category:Authors to Category:Writers, simply add the following to Category:Authors:
{{Category redirect|Writers}}
or{{Category redirect|Category:Writers}}
with optional namespace prefix
This template adds category pages to Category:Wikipedia soft redirected categories.
If a category redirect exists but is not likely to be useful (see criteria in WP:Category redirects that should be kept), start a discussion at WP:CFD.
If a category redirect is intended to be kept, then add |keep=yes
to suppress a deletion link that is usually displayed to administrators.
In the case of redirects that are resolved or otherwise used by other templates, consider also adding the template {{R from category navigation}} within an {{Rcat shell}}.
Templates in the target name
Note that the use of templates in the target name will prevent the redirect from being resolved by {{Resolve category redirect}}, as will the characters |
or !
.
For more info, see Template:Resolve category redirect#Templates.
Exceptions
- Non-empty categories will be listed at Category:Wikipedia non-empty soft redirected categories ( 9 ).
- Infinite loops of length 1 will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 6 ) under ∞.
- Redirects with non-existent targets will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 6 ) under ∃.
TemplateData
TemplateData for Category redirect
Marks category as a soft-redirect
Parameter | Description | Type | Status | |
---|---|---|---|---|
Destination category | 1 | Category that this category should redirect to
| Page name | required |
nocat | nocat | no description | Unknown | optional |
See also
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Oops something went wrong: