Tread carefully! You can really impact your mile earning potential if you are Botha. QF and EK traveller. The partnership is quite complex compared to other alliances.
As a general rule of thumb, Codeshare is available on flights ex-AU that connect in Dubai, Singapore and Perth and on domestic AU/tasman legs that are part of an itinerary that meets the preceding criteria.