Template:Category redirect/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Template used to soft redirect a category page without content to another category page. (No automatic redirection.)

Template parameters

ParameterDescriptionTypeStatus
11

redirection target in Category: namespace

Example
France
Page namerequired
langlang

language code, use if the language inferred from the page title is not correct

Default
en
Example
uk
Stringoptional

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:

Example

A category page like Category:Frankreich containing: {{Category redirect|France}} will render as:
Redirect arrow without text.svg

Redirected category edit
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