Rules of the game for team sports

The essential rules for amateur play, what each position does, and the differences by country or federation.