I wish that; signifies a wish or desire for the present or the future.(phrase)
I wish that; signifies a regret about an action in the past.(phrase)
Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License
Use "if only" in a sentence
"Ella Mental by Amber Deckers if only every girl had a “Good Sense” guide!"
"Another image, AS11-40-5894, would have provided a good view of Armstrong at the MESA, if only the exposure would have been more appropriate."
"From Paestum, the road to Brundisium led through Caposele another reason to identify it with the place towards the Peteline Mountains, if only military history were neat and logical."