It's clear as mud.
Whether I tip or not depends on the meal and who is doing the order taking/prep.
When it simply consists of the kitchen putting a standard menu item in a container, and the owner is the one taking my money I usually don't tip.
When it's a real "meal" with sides, fixings, or I get it made a certain way, and I assume the person doing it works for tips, I tip.
And when I feel the restaurant is nickel and diming me with take-out fees, surcharges, etc not only do I not tip, I stop going there.