Template:Page list

 category= count=100 

Template call syntax: Returns list of pages (if any) with category=pagename, where pagename is the name of the page calling this template (or calling a template that calls this template, etc). Allows error messages. No restriction on namespace.