format all template style