The template hooks in "member_card" do not include the $user variable as a parameter.
While this may not technically be considered a bug, it does severely impact the practical use of the hook, as you would think most links placed here are user-specific.