Board Thread:Support Requests - Getting Technical/@comment-4334693-20140809174631/@comment-1330470-20140809180150

Sounds more like you want to use #switch than #if. Check out mw:Help:Extension:ParserFunctions.