Can someone show me the proper format of an "if-then-else" statement

I come from a Visual Basic background and I would like to know the proper format for an if, then, else statemnt.

Please just where the instances and functions are supposed to be inserted just put anything simple. I just want to know the format. Thanks.

mike