Template:Nousercat

Usage
Assigns a page to the corresponding user category (Category:User subpages, Category:User templates, or Category:User subtemplates, depending on the name of category specified) (if the page is in userspace) or to the specified category (if the page is not in userspace).

This template allows other templates which would normally assign categories to be used in userspace pages without assigning mainspace categories. It is also useful when creating userspace pages planned to be moved to the main namespace.

When a page is moved from userspace to the mainspace, all of the previously blocked categories will be assigned.