Extended Mage macros:
#showtooltip Frostbolt
/cast [harm,nomod] Frostbolt; [noharm, nomod, @Pet] Frostbolt; [harm, mod:shift, @pet] Frostbolt
/petattack [mod:shift, @focus]
/petattack [mod:alt, harm]
My universal Frostbolt macro - if you have a hostile target it will cast Frostbolt like normal, if you have nothing targeted, it will cast Frostbolt at your pet and if you have a friendly target, it will also cast Frostbolt at your pet. To save keybinds, I have the same key for Frostbolt, bound to make my pet attack my current or my focus target conditioned with modifiers, you can leave this of course.
#showtooltip Frost Nova
/cast [nomod] Frost Nova
/petfollow [mod:alt]
Casts Frost Nova like normal, but tells your pet to follow you if you press alt (or any other modifier).
#showtooltip Fire Blast
/cast [nomod] Fire Blast
/petmoveto [mod:alt]
Cast Fire Blast like normal, but let's you move your pet if you press alt (or any other modifier).
#showtooltip
/cast [nomod] Polymorph
/cast [mod:alt] Freeze
Cast Polymorph like normal, but tells your pet to use Freeze if you press alt (or any other modifier).
#showtooltip
/cast [nomod] Frostfire Bolt
/cast [mod:alt] Summon Water Elemental
Casts Frostfire Bolt like normal, but let's you resummon your Pet if you press alt (or any other modifier). To make it clear, I refrain from putting [nopet] in there, because there are situations where your pet isn't dead/dismissed but you still want to resummon it.
#showtooltip Polymorph
/cast [@focus] Polymorph
/e is casting Polymorph on %f. Please don't hit sheeps and please don't DoT randomly.
Casts Polymorph at your focus and shows an emote-phrase saying that you're casting Polymorph at your focus and to not hit the cute little sheeps walking around you. (This would work with a normal /cast Polymorph macro as well if you put %t instead of %f, but it conflicts with my personal Polymorph-macro as it would show the emote-phrase even if I just wanted to cast Freeze)
#showtooltip
/cast [nomod, @focus] Counterspell
Simple, casts Counterspell at your focus if you don't have a modifier pressed.
#showtooltip Counterspell
/cast [nomod, @mouseover] Counterspell
Simple, casts Counterspell at your mouseover if you don't have a modifier pressed.
#showtooltip Arcane Blast
/cast [nomod] Arcane Blast; [@focus] Arcane Blast
Casts Arcane Blast at your target if you don't have a modifier pressed, or at your focus if you do.
#showtooltip Arcane Barrage
/cast [nomod] Arcane Barrage; [@focus] Arcane Barrage
Casts Arcane Barrage at your target if you don't have a modifier pressed, or at your focus if you do.
#showtooltip Teleport: Orgrimmar
/equip Burnished Warden Staff
/equip Swift Hand of Justice
/cast Teleport: Orgrimmar
This is a basic teleportation macro. I have 4 of those set to the 4 main cities I can teleport to (UC, SM, TB and OG of course, but you can set it to IF, SW, DN and EX respectively as well if you play alliance). It also attempts to equip my Burnished Warden Staff and my Swift Hand of Justice which both provide Haste for faster teleporting. If you have 2 Haste-trinkets, you may set the macro to /equipslot 13 Swift Hand of Justice and /equipslot 14 Swift Hand of Justice.