who is robin in how i met your mother
the on - again , off - again love interest of Barney Stinson ( Neil Patrick Harris ) and Ted Mosby ( Josh Radnor ) , and a close friend to Lily Aldrin ( Alyson Hannigan ) and Marshall Eriksen ( Jason Segel )