The standard way to do this is to say I'm resigning as if such as such a day, and optionally that you are not joining a competitor
But from personal experience, this is a bad long term idea- much harder to get hired when you are unemployed, and no reason to offer to pay up to get you to leave. This will cost you in the long run
Is there a reason why this is a bad long term idea? I mean I am giving them fair 2 week notice, offering to help with knowledge transfer and certainly not trying to negotiate more money or anything from them.