There is no specific template you need to use for a shake.
You need to use multiple zooms timing them.
Example: INT. BACKGROUND @zoom on x y to % in 0.1 @zoom on x2 y2 to % in 0.1 @zoom on x3 y3 to % in 0.1
You can adjust the time and coordinates as you like it. If you want a horizontal shake only then change the x coordinate. If you want a vertical shake then change the y coordinate.