Warlords of Draenor finally introduced a new talent macro conditional!
/cast [talent:4/1] Storm Bolt; [talent:4/2] Shockwave; [talent:4/3] Dragon Roar
This should be enough for most people...
/cast [spec:1,talent:5/1] Nether Tempest; [spec:2,talent:5/1] Living Bomb; [talent:5/2] Unstable Magic; [spec:1,talent:5/3] Supernova; [spec:2,talent:5/3] Blast Wave
...however, as you can see with mages, it can get ugly when factoring in spec specific talents. Imagine if you also want to use a different buff with each talent based on spec, ew.
TalentMacros keeps it simple!
/talentmacros to open the config and create the auto-updating general macros (t1-7 and tpvp1-3) or customize the macro used for each talent. You can put whatever you want for each talent, including another spell, or item, or whatever for passives.
The default macro for every talent is simply:
#showtooltip /cast talent name
Also supports PvP talents! If you're missing the pvp macros, just hit the "Create Macros" button in the config.