I want to make my friend an edible birthday hat and I was thinking of making it with gingerbread then writing on it with icing. The problem is that I don't know whether to make it in pieces then connect them like a gingerbread house or add more flour and form the hat/crown/cookie from dough and bake it as a whole. If the latter how long should

I bake it for?