Added date template

Changing some stuff around to get template type 2 to work.