Template:Category redirect
Jump to navigation
Jump to search
![]() | 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 56,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
![]() | This template should not be substituted. |
For the Wikipedia policy on redirecting categories, see WP:CATRED.
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.
Exceptions
- Non-empty categories will be listed at Category:Wikipedia non-empty soft redirected categories.
- Infinite loops of length 1 will be listed at Category:Wikipedia category-redirect box parameter needs fixing under ∞.
- Redirects with non-existent targets will be listed at Category:Wikipedia category-redirect box parameter needs fixing under ∃.
See also
This is the TemplateData documentation for this template used by VisualEditor and other tools.
See the monthly error report for this template.
TemplateData for Category redirect
<templatedata> { "params": { "1": { "label": "Destination Category", "description": "Category that this category should redirect to", "example": "Writers", "type": "wiki-page-name", "required": true }, "nocat": {} }, "description": "Marks category as a soft-redirect", "format": "block" } </templatedata>
The above documentation is transcluded from Template:Category redirect/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. |