What is the standard way to calculate scores in team tournaments? I found this PDF document on FIDE rules for the Chess Olympiad, which is a team tournament, but the scoring rules were mentioning too briefly (an annex D was mentioned but I couldn't find that).

So my question is:


Assuming that there are X teams competing in the tournament
And that each team has Y players


What is the standard way to organize such a tournament (regarding scoring)?

If there are too many teams, how to define which team goes against which?

How are ties solved?
I think the standard way to treat a team tournament is like a normal tournament, only with teams instead of players. 

So there is swiss system pairing if there are too many teams for a round robin. A win gives you 1 point, a draw 1/2 and a loss 0. Sometimes that 2 points for a win, 1 for a draw and 0 for a loss, but that's equivalent. 

The number of board points, i.e. the sum of points each player of a team has made, is usually used as a tie-breaker. 

It used to be the case that the olympiad had board points as scoring system. But that doesn't make much sense for a team event and also leads to pretty boring tournaments, so it was changed in 2008.