Template:Commons user category

__HIDDENCAT__

Adds categories to Category:User categories with optional sort key. The category can be changed by using category_name (without the "Category:" prefix).

The main purpose is categorize and add __HIDDENCAT__ in one step. User galleries should not use this as they go in Category:User galleries.