How to add an infobox for different category pages

For episodes

Insert the template named "Episode" and add the following as parameters (if applicable): title, image, season, date, views, writer, director, cast

For crew members

Insert the template named "Crew" and add the following as parameters (if applicable): title, image, name, birth, active, role, web