Template:If
See this page for usage.
In many cases you may be able to use the basic #if parser function instead:
- {{#if:test string|value if test string is not empty|value if test string is empty (or only white space)}}=
- value if test string is not empty