How To Veganize A Recipe

Every ingredient has a purpose. Flavor (the obvious one), texture, consistency, structure, beauty – all equally important. So, when you see a recipe that you really want to riff on and without animal products, all you have to do is determine the objective of the ingredient in question; what purpose does it serve in this recipe, and what other ingredient can serve the same purpose?