Template:Namespace category

Adds the current page to the given category only when it resides in the given namespace. Note: The main namespace is blank (empty namespace).

Usage: