Forum:"OR" Statements?

I've got a template that only prints a line if a variable has a value:

Now I need to check 3 different variables, and if at least one of them have a value it should print the line. What's the best way to do this? Thanx in advnace. -Adam weiler 22:36, November 19, 2011 (UTC)


 * This would be the easiest way - will return 'true' if any of the variables is non-empty. If you want the output to vary depending on which variable is present, your best bet would be to use nested if functions. — Sovq 23:02, November 19, 2011 (UTC)


 * Or if you need some particular complicated conditions, maybe using the logical or of the expression parser function as test condition might be helpful too, read this for an explanation.