Empty variable in a template


I’m new to SuiteCRM and I’d like to know how to insert a default data if the variable in a template turns out to be empty or blank. For example in a template

[quote]Would you like $account_name to be part of our donation campaign?[/quote] if $account_name is empty, I’d like to default it to your company, like so

Any pointers would be appreciated!


will something like this work?

{$contact_account_name|default:'your company'}