else and elif part of the construct (shown in italics) are optional.
You can use multiple elifs if needed. The conditions can be commands.
The return code of the command is taken as true or false condition.
The example script reads an input from std input and stores it in the variable ANSWER. It checks if the number is less-than-or-equal-to or greater-than 10 and prints an output accordingly. If the input is not a number, it prints 'Could not read the input as number" as output.
read ANSWER?"Choose a number "
if [ $ANSWER -le 10 ]; then
print The number is less than or equal to 10
elif [ $ANSWER -gt 10 ]; then
print The number is greater than 10
print Could not read the input as number