For the cupcakes, preheat the oven to 180°C. Line two 12 cup muffin tins with paper cupcake liners.
Whisk together the flour, baking powder and salt in a bowl. Warm the grape jelly for approximately 20 to 30 seconds in the microwave until loosened, and whisk until smooth. Set aside.
Beat together the sugar and eggs in another medium bowl with an electric mixer until light and foamy, about 2 minutes. While beating, gradually pour in the butter and then the vanilla.
While mixing slowly, add half the dry ingredients and then all of the milk. Follow with the rest of the dry ingredients, taking care not to over mix the batter.
Remove roughly 500g of the batter and stir in the grape jelly. Evenly fill the liners about two-thirds full, alternating the plain batter and grape batter.
Bake until a tester inserted in the centre of the cupcakes comes out clean and the tops spring back lightly to the touch, 20 to 22 minutes. Place the pan on a rack to cool for 10 minutes, and then remove the cupcakes to the rack to cool completely, about 1 hour.
For the frosting, beat the butter and salt in a large bowl until fluffy and combined. Gradually beat in the icing sugar until smooth and fluffy. Beat in the milk one tablespoon at a time until the frosting has a nice spreadable consistency. Add the crushed cookies and continue to beat until any large chunks are crushed to smaller bits and the frosting has a speckled, greyish look.
To decorate, arrange the cupcakes in 4 rows on a large serving plate or cutting board. Fit a marshmallow between each cupcake, 5 marshmallows per row, to fill in the gaps between the cupcakes. Spread the frosting over the whole rectangle so it looks like one cake. Sprinkle with the cookie crumbs and black decorating sugar.
To make the tombstones, use the black decorating icing and a small round tip to write 'RIP' or other one-word epitaphs on the top half of the oval sandwich cookies and stick into the cupcakes randomly around the graveyard.
To make the ghosts, take two-thirds of the marzipan and place between 2 sheets of wax paper or parchment. Roll about 1/8-inch thick and cut into 3 rounds using a 4-inch biscuit cutter. You may need to gather and re-roll the scraps for all 3 rounds. Drape over the wrapped lollipops and stick into the cupcakes around the tombstone. Using the black decorating icing and the same round tip, dot eyes and a mouth on the ghosts.
To make the pumpkins and leaves, divide the remaining marzipan into 4 small pieces and roll each into a ball. Roll in the orange sugar until coated and place around the graveyard. Use the black icing to pipe a small stem. Fit the tube of green decorating icing with a leaf or ribbon tip to dot bits of green grass poking through the dirt around the graveyard and pumpkins.
To make a border, use 6 pieces of the liquorice, trimming to fit, to make a border around the cake, leaving the middle of the front side open. Bend the seventh piece into an upside down 'U' and stick into 2 cupcakes in the front to make an arched gateway.