Template:Category redirect/doc
From HandWiki
< Template:Category redirect
Revision as of 09:24, 15 January 2021 by imported>Jworkorg (1 revision imported)
![]() | This is a documentation subpage for Template:Category redirect It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 101,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. Transclusion count updated automatically (see documentation). |
![]() | This template should not be substituted. |
Error: no shortcuts were specified and the |msg= parameter was not set.
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 ( 108 ).
- Infinite loops of length 1 will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 130 ) under ∞.
- Redirects with non-existent targets will be listed at Category:Wikipedia category-redirect box parameter needs fixing ( 130 ) 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 in articles based on this 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
- Template:Category disambiguation
- Template:Resolve category redirect
- Wikipedia:Template messages/Category namespace