Dynamically include event templates depending on the event type