This television episode refers to:
July 9, 2003 - May 24, 2007
Marshall is dressed as Captain Jack Sparrow from the Pirates of the Caribbean movies. Throughout the episode, it is pointed out that Marshall is wearing eyeliner, to which he replies, "weirdly hot, right?". Also, Robin notes that there are many guys dressed as "gay pirates" because they are all wearing eyeliner. Marshall tries to refute this by saying, "I have sex with my parrot all the time," referring to Lily, who is dressed as a parrot.