How to use a conditional ("if") statement in an email template?

Hi,

I want to make something like:

{{if order.getStatusLabel() == "Sent"}}

Sent Text!

{{/if}}

Is it possible to make and any conditional in email templates?

Yes:

A post was split to a new topic: Can I use the equality ("==") operator in an email template?

How to add if-else condition using website id?