Able to have IF-THEN conditional statements in templates?

Able to have IF-THEN conditional statements in templates?

Is it possible to have IF-THEN conditional statements in templates?  For example:

If {Products.Product Name} = "test" then {
     show
{Products.Product Name}
}