i am trying to make a extension cord with a kill switch in the middle thats going to be mounted to my desk, the cord has red(phase), black(neutral) and green(earth) wires, but the light switch has loop, 1, 2 and common holes, what wires go where?
Improper Electrical Wiring constitutes a serious life safety hazard. It can be the source of structural fire and potentially fatal shocks.
I am not saying that you can't splice a common electrical wall switch into an extension cord. I am saying that it is not a good general practice.