I'm a big believer in tipping based on quality & speed of service, thankfully that ends up being 20% most of the time!  Tipping on takeout seems to be a big question with many.  I tip on takeout.  

Check out this chart explaining how much to tip based on the job!