Thread:BehindTheEight/@comment-11764338-20140402173507

Here is a very good example of the IF used in a Template.

the template page :  Template:Dropdown

the documentation: Template:Dropdown/doc

and finally an example of how it is used on a page: Testing 