Sorry. I just got back home from a three-day vacation!
I think you are referring to 'Conditionals'. 'Conditionals' is closely related to 'wish' clauses. Only that we normally use the 'wish' part to substitute for the 'if part' (not the would part).
e.g. If I had a motorbike, I'd drive all the way down to Patagonia = I wish I had a moto