Cream margarine, sugar, eggs and vanilla. Sift together flour, cocoa, baking soda, baking powder and salt. Add alternately with milk, starting and ending with flour mix.
Pour into a greased and floured pan. Bake at 350 degrees for appx. 40 minutes or until cake tests done. Can be baked in any type of pan or made as cupcakes. May need to adjust the baking time depending on the pan you use.