Template:Category redirect
Jump to navigation
Jump to search
Redirected category
This category has been renamed or merged into another one and should no longer contain any member pages. All member pages which may still belong to this category should now be placed into:
[[:Category:{{{1}}}]]
This documentation is transcluded from Template:Category redirect/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Template used to soft redirect a category page without content to another category page. (No automatic redirection.)
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | redirection target in Category: namespace
| Page name | required |
lang | lang | language code, use if the language inferred from the page title is not correct
| String | optional |
Usage
- This template should be used as the only content remaining in the category page that has been renamed or merged into another one indicated in parameter.
Syntax
{{Category redirect|target}}
- Replace target with the bare target category name (without the implied "Category:" prefix).
Outcome
- Tagged categories will appear in subcategories of Category:Soft-redirected categories:
- As long as the target category page does not exist, the tagged category will be listed in Category:Soft-redirected categories with missing target category.
- As long as the tagged soft-redirected category contains member pages, the tagged category will be listed in Category:Soft-redirected categories still containing pages, and the tagged soft-redirected category will remain listed as a subcategory (listed under the indexing key ←) of the target category; otherwise it will be listed in Category:Soft-redirected categories no longer containing pages.
Example
- A category page like Category:Frankreich containing:
{{Category redirect|France}}
will render as:
Redirected category
This category has been renamed or merged into another one and should no longer contain any member pages. All member pages which may still belong to this category should now be placed into:
Category:France