Added if and if-eq as template helpers