If you are looking at the standard foosball table, there can be 26 players and 22 players. The reason why the standard foosball table has two options is the fact that it can be a 1-man goalie configuration and a 3-men goalie configuration.
The standard foosball table with 22 players has two teams with 11 players each. One team consists of 1 goalkeeper, 2 defense players, 5 midfielders and 3 strikers. The 11-players team is a 1-man goalie configuration.
The standard foosball table with 26 players has two teams with 13 players each. One team consists of 2 goalkeepers, 3 defense players, 5 midfielders and 3 strikers. The 13-players team is a 3-men goalie configuration.
Other types of foosball tables
There are smaller foosball tables and there are table tops which can’t have the same amount of players as the standard foosball table. The number of players on table top depends on the size of the tabletop. The number may vary from a total of 12 players to 18 players or more. There are no rules for the number of tabletop foosball players like it is on the standard sized foosball table.