Warlords of Draenor finally introduces a new talent macro conditional!
/cast [talent:4/1] Storm Bolt; [talent:4/2] Shockwave; [talent:4/3] Dragon Roar /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;
This should be enough for most people, 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!
Use /talentmacros to open the config and create the auto-updating general macros (t1-7) or to customize the macro used for each talent (can be anything, ie, some other spell/item/whatever for passives).
The default macro for every talent is simply:
#showtooltip /cast talent name