Title Text w/ Switch

I am not sure where to put the switch condition in here