Template:Resolve category redirect/doc

Resolves a soft category redirect.

It takes one parameter, which is the name of a category. It returns that category name, unless the category exists and is a category redirect ... when it returns the name of the redirect target.

Examples

 * Category exists and is not redirected: Category:1970s


 * Category exists and is a soft redirect: Category:Mosques completed in the 19th century


 * Category exists and is a soft redirect: Category:Organisations


 * Non-existent category: Category:Colourless green things