Template:If

See documentation on Wikipedia.