The 3 points you want to get across can be accomplished in just a couple of sentences that include (a) your announcement that you are quitting, (b) as of a certain date, and (c) provide information about your last day.
Breaking up is hard to do, but pouring your heart out on paper is rather awkward. There is really no need for any other information in your resignation letter (including a reason __ which is completely optional). No effusive template and formatting effort is required. This is not a letter that is going to be hanging on anyone's wall, and it probably won't even be filed away!