Board Thread:Support Requests - Designing Your Wiki/@comment-10057802-20130602175805/@comment-5716479-20130603200349

You should use switch statement, something like this:

Also I doubt that passing ' as parameter is a good practice.(I moved them outside)