Choose the role that the staff member had in the work. If the staff member had multiple roles, you will need to add the staff member themselves multiple times.
In terms of anime, for staff, if they have specific episode credits, they should be credited in the following formats; ‘Storyboard (ep 5)’ or ‘2nd Key Animation (eps 1, 3, 8, 11, 13)’ with a comma, followed by a space after every episode number. If they are credited with a studio next to their name, do not include the studio. If they are credited for at least 3 consecutive episodes then it should be formatted as ‘Animation Director (eps 7-9)’.
For example, Princess Tutu is often credited as if it were a 26 episode anime but AniList lists it as 38 as episodes. Episodes 14 to 37 were aired as 12 minute long episodes. A credit of ‘In-Between Check (ep 26)’ elsewhere might be ‘In-Between Check (ep 38)’ on AniList, you’ll need to determine the convention used on the site you’re pulling the data from. Conversely, for a title like Panty & Stocking with Garterbelt, a credit for ‘Episode Director (ep 2)’ would be ‘Episode Director (ep 1b)’.
In terms of manga, for staff, credit writers with 'Story' and illustrators with 'Art'. If a creator is both, credit them with 'Story and Art'.
For spin-offs and related works undertaken by other authors and artists, you will need to use the Original Work or Character Design roles. This will almost always apply to anime adaptations.