Thread:Project:Support desk/How to create template with several conditions.

Good day. I want to create template with two and more conditions for generating links to download files from several hosts. As shown on image there are two conditions. If I put parameter deposit - template generates link for Depositfiles hosting. If I put parameter letitbit - template generates link for Letitbit hosting.



I have watched throught http://meta.wikimedia.org/wiki/Help:Advanced_templates page but did not find a solution. How can I create this template, pls advice.