User blog comment:Ephemeral Hiraeth/The If and the Switch/@comment-11764338-20140326161943

hey i hate to bother you but i seem to not figure out what im doing wrong.

here is the fragment from a wiki page

and here is the template that i used

what im trying to do with the switch statement is to set the color values depending on what the Infantry parameter set to ex. Poor colors are IRed = 252 if it is OK then IRed = 255 etc.