Template:Category works by person/doc

 is used in category pages using the format of "work type by creator" to automatically handle the layout, links, and categorization (with name sorting) of the page.

Example of categories this should be used on:
 * Category:Films directed by J. J. Abrams
 * Category:Television series created by J. J. Abrams
 * Category:Video games designed by Steve Cartwright

Paramaters
The following parameters are optional:
 * 1 or nationality. Use to categorize in a nationality sub-category instead of the general profession category. If no nationality category exists, will fallback to the general category.
 * or
 * sort. Use to overwrite the automatic sorting which uses the person's last, first name.

What it does
The template will perform the following:
 * Add Portal with the relevant portals.
 * Add Category more with a link to the individual's article.
 * Add CatAutoTOC to handle the category table of contents.
 * Place the category as a sub-category of the relevant category.
 * Place the category as a sub-category of a "Works by person" category if it exists.

Supported categories

 * Category:Films directed by J. J. Abrams
 * Category:Films produced by J. J. Abrams
 * Category:Films with screenplays by J. J. Abrams
 * Category:Music videos directed by Paul Thomas Anderson
 * Category:Television episodes directed by Alan Alda‎
 * Category:Television episodes written by J. J. Abrams
 * Category:Television series created by J. J. Abrams
 * Category:Television shows directed by Jules Bass
 * Category:Video games designed by Steve Cartwright
 * Category:Video games directed by Sefton Hill
 * Category:Video games produced by Dan Houser
 * Category:Video games scored by Rod Abernethy
 * Category:Video games written by Neil Druckmann