Oh well, I have another question and this time, it's about football

(soccer to you crazy americans)
Football clubs "buy" players from other parts of the world. But if there's a world championship, what proportion of the players on the national team have to be from that country? Is it simply all of them or some kind of number?
Yeah, I'm a football newb