If you knew them before they met
Begin with one memory your friend would be happy for their partner to read. Then turn towards the two people opening the envelope. For example: “Sam, I remember the first Sunday you brought Jo to lunch. By dessert you were both arguing for an extra place at the table in case somebody dropped by. I love the home you’ve made together. Congratulations to you both.”
If you know them through work or family
Keep it warm and specific to the day. “Thank you for making room for us at your wedding. Seeing you both come back down the aisle looking for each other’s hands will stay with me. Wishing you many happy years together.” If you are writing ahead of the ceremony, use something you actually witnessed, such as the way they welcomed you when you first met.
If you are celebrating from a distance
Acknowledge missing the day in one line, then spend the rest of the card on them. A wish can be wonderfully ordinary: “Here’s to slow breakfasts after all the planning, and to a kitchen that always has room for one more chair.” Sign clearly so they’ll know whose chair you mean when they open the card years later.