Template:Category redirect/doc
From Historical Hastings
| This is a documentation subpage for Template:Category redirect. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on [ many 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. |
|
|
This template is used by one or more bots.
If you intend to change this template in any significant way, please inform the bot operators. The relevant bots are: JJMC89 bot and RussBot. |
Instructions[edit]
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[edit]
- 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 ∃.
TemplateData[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the [https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=Category+redirect monthly error reporHatnotefor this template.
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 | required |
| Nocat | nocat | no description | Unknown | optional |
See also[edit]