The more you sing the praises of teamwork, the better it will be for you. Claiming all the credit alienates you while sharing it fosters bonhomie.