User:Jmjimmy/Template:Category/doc

Usage:

Single category:

Multiple categories