Line a baking sheet with parchment paper.
In a medium bowl, whisk together the flour cinnamon, ground ginger, ground cloves, ground nutmeg, baking soda and salt. Set aside for later.
In a large mixing bowl or the bowl to the stand mixer, beat together the butter and brown sugar on high until smooth, about 3 minutes.
Add the egg, molasses and vanilla and continue beating on high until just blended, about 2 minutes. The dough will look a little strange and may appear that it is separating. This is completely expected and will change as you add the flour mixture.
Add the flour mixture slowly as you keep beating on high until a dough starts to form.
Split the dough in half and wrap each in plastic wrap. Place in the fridge to chill for an hour. This makes it easier to roll out.
Roll the chilled dough to a 1/4 inch thickness. Use the template and a knife to cut out the 2 shapes. You will need one of each shape to make 1 tree.
Place the dough cutouts onto the prepared cookie sheet. Place them approximately 1.5 to 2 inches apart. Place the entire cookie sheet in the freezer for 10 mins. This is done to keep the shapes intact. Otherwise the butter will melt too much in the oven and the shape will spread.
Preheat the oven to 350 degrees Fahrenheit. Bake for 9 to 10 minutes. The cookies will be puffy when you first pull them out. Allow to cool for 5 minutes. If the shape needs to be trimmed now is the time to do it, when it is warm. If necessary, trim the cookie with a sharp knife to ensure the two pieces will fit together. Transfer to a cooling rack to cool completely.
Now comes the fun part! Ice and decorate one side of each cookie. Allow the icing to set. Flip the cookies over and ice the other side and allow the other side to set. Setting time is completely dependant on the brand of royal icing you are using.
Slid the 2 cookies together and stand them up. This makes a wonderful and tasty Christmas centrepiece.