It depends on who you are playing and how you build them. A tanky champ with spammable CC(Udyr, Olaf) should be stunning or snaring as many people as possible, for instance.
A quick answer is whatever you do well in lane, you will do well in a teamfight. Importantly, you need to do SOMETHING in a team fight. There is nothing more frustrating or useless than someone that just spins around during a team fight without using their abilities.
Additionally, don't worry too much about attacking tanks unless you are very mobile with a reliable gap closer that can get you into the back line(Nocturne, Irelia.) It is way worse to die out of position, having done nothing, than it is to kill a tank and get out safely.
There is a mob mentality in normals and low Elo that "ur bad" if you attack a tank. However, if their front line is impossible to get past without dying, it only makes sense to hit what you can. Still, be aware of which enemy is the best target. Often you will have a choice between two or sometimes three tanky champs. Pay attention during the game to who is least farmed and punish them in team fights.
As a ranged carry, be aware that the enemies gap closers will attempt to engage on you. If this happens, do your best to separate and try to kite towards someone that can peel them off if you.
AP carries should know their best combo and only employ their long CD cults when a team fight is truly engaged. Blowing Brands ult early, for instance, could allow the enemy team to retreat safely, heal up, and reengage on better terms.
If you're playing an initiator(Amumu, Malphite, etc.) you have to understand when the enemy is in a disadvantaged position and take advantage of it.
tl;dr: In a team fight, do whatever your champ does best when not in a team fight. They are often the same thing!
Best Answer
On September 12th, 2012, Riot announced the revised criteria to receive Season 2 rewards, which were handed out on November 6th, 2012.
In order to receive rewards for a ranked team, you must have met one of these two conditions:
It's noteworthy that there have only been 2 seasons, and that the criteria for rewards has changed between them. Note also that condition #1 seems to only be because the revision was announced within that month.
This information should thus be considered volatile, and you'll have to wait for the Season 3 rewards announcement to be sure of anything.