Set template type and platform