Template:Categorize if content page/doc

This template can be used in other templates to categorize pages.

It takes one positional argument which is the name of a category (with no link or namespace name). If the current page is in a content namespace, it adds the page to the category with the name given.