Template:Category redirect/doc
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 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:BattleTechWiki soft redirected categories.
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}}.
Templates in the target name
Note that the use of templates in the target name will prevent the redirect from being resolved by {{Resolve category redirect}}, as will the characters |
or !
.
For more info, see Template:Resolve category redirect#Templates.
Exceptions
- Non-empty categories will be listed at Category:Non-empty soft redirected categories ( 1 ).
- Infinite loops of length 1 will be listed at Category:Category-redirect box parameter needs fixing ( 0 ) under ∞.
- Redirects with non-existent targets will be listed at Category:Category-redirect box parameter needs fixing ( 0 ) under ∃.
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 | required |
Nocat | nocat | no description | Unknown | optional |