With the third conditional ... As your example illustrates, when we are discussing such past situations we normally use past perfect in the if-clause, followed by would have + past participle ...
mixed second / third conditional The other possibility ... Present perfect is also possible in the if-clause. Consider these examples: If you can't understand the instructions, you'll never ...