Template:Cat

This template is to be used within templates that add categories to transcluded pages. It ensures that only pages of a specific namespace get added to the category.

Usage
namespace
 * &#60;namespace&#62; – namespace for which pages are to be added to category
 * see lists w:Help:Namespace and MW:Help:Magic words
 * use "0" for main namespace
 * &#60;category name&#62; – the name of the category
 * exclude "Category:", e.g. for "Category:Images", just write "Images"
 * &#60;sort key&#62; – optional variable, the sort key
 * for more info on sort keys, see Wikipedia:Wikipedia:Categorization

Examples: