If I'm at a restaurant and I order take-out, I may leave a tip depending on where my order was placed (the bar vs the hostess stand vs a special takeout section). It also depends on how helpful the person was taking my order.
But if I'm at Five Guys or a pizza place, I'm not tipping for take-out or eating in.