Does it do [if xxx=yyy] [else] [end]?
No, only boolean properties are supported. You need to expose xxx==yyy expression as a property on the data object:
public bool IsYYY
{
get { return xxx=="yyy"; }
}
This is done by design to force developers not to code too much in the template itself, but rather create a rich testable ViewModel.