Template:Category redirect/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Category redirect. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template should not be substituted. |
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.
Exceptions
- Non-empty categories will be listed at Category:Wikipedia non-empty soft redirected categories ( 2 ).
- Infinite loops of length 1 will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 1 ) under ∞.
- Redirects with non-existent targets will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 1 ) under ∃.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Category redirect
{
"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": "inline"
}