Splitting into teams
Add the people who are playing, then choose how to split: into a set number of teams, or into teams of a set size.
Team sizes are always balanced: they differ by at most one person. For example, 10 players in 3 teams become teams of 4, 3 and 3, never 6, 2 and 2.