Template:If

Source
This is from Template:If on Wikipedia. (See that page for full usage instructions.)