Past simple
I wish you were here.
I wish I was you.
I wish I wrote that essay.
Past Perfect
I wish she hadn't behaved like that.
I wish you had done your homework.
I wish my mother had bought bread.
Cond. 1
I wish it to work because if it does, I will not buy a new phone.
I wish this book to appear soon because if it does, I will be happier.
Cond. 2
I wish I was in Hawaii because if I were, I would see my aunt.
I wish you came with us because if you did, you would have fun.
Cond. 3
I wish I had been there because if I had, I would have seen the puppies.
I wish she had come to school because if she had, she would have got a good grade.