Template:Category redirect/doc
Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found.
Lua error in package.lua at line 80: module 'strict' not found. <templatestyles src="Module:Hatnote/styles.css"></templatestyles>
<templatestyles src="Module:Hatnote/styles.css"></templatestyles>
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), tag it with {{db-c1}} for deletion.
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}}.
Exceptions
- Non-empty categories will be listed at Category:Wikipedia non-empty soft redirected categories ( 104 ).
- Infinite loops of length 1 will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 20 ) under ∞.
- Redirects with non-existent targets will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 20 ) under ∃.
TemplateData
See the monthly error report for this template.
TemplateData for Category redirect/doc
Marks category as a soft-redirect
Template parameters
This template prefers inline formatting of parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Destination category | 1 |
Category that this category should redirect to
|
Page | required |
Nocat | nocat |
no description
|
Unknown | optional |