"Osama Bin Laden Has Farty Pants" is a paean to a classic Wartime Cartoon, especially Bugs Bunny's.
In the "Coon and Friends" trilogy, this is done twice between Cartman and Cthulhu: one, a tribute to My Neighbor Totoro, and the other is a nod to the Chuck Jones cartoon "Feed the Kitty". The original "Coon" episode also parodies The Dark Knight in the beginning.
A meta-example: the 20+ minute animation "Trey Gets Stoned" is one of both the show itself (seriously, the animation is indistinguishable) and Trey Parker and Matt Stone. Not surprising, since it was made by several fans.
The jokes on Family Guy deviate from random ridicule to Affectionate Parody, and most of them are pretty good mixtures of both. One of the most affectionate of them, however, would have to be "My Drunken Irish Dad" (as opposed to "The Freakin' FCC" (viewer discretion advised), which is essentially a giant Take That to, well, the Federal Communications Commission). Except that it turns out the FCC actually liked it.
However, the affection by the third one has... waned. It's not so much that they grew to hate Star Wars as they began to grow frustrated with the format of forced storyline retread with jokes they had set up.
Futurama assembled the entire (and then-living) cast of Star Trek: The Original Series for an episode and spent 23 minutes lovingly mocking the show. Most of Futurama's writers are huge Star Trek fans, though series creator Matt Groening insists he's never seen an episode.
Except for James Doohan, who was replaced with Welshy. Briefly.
The character of Zapp Brannigan is an Affectionate Parody of Captain Kirk from Star Trek: The Original Series series. In a DVD commentary, producer David X. Cohen said his instructions to the writers when they sketched dialogue for Brannigan was, "Imagine if William Shatner actually captained the Starship Enterprise."
The Simpsons episode "Homer's Barbershop Quartet" is an Affectionate Parody of the career of The Beatles in the form of Homer's 1980s barbershop quartet, the B'Sharps, that takes the world by storm in a similar fashion to the way the Beatles did. The career of the B'Sharps mirrors that of the Beatles in almost every way, including similar controversies, the complete hysteria surrounding them and band meltdowns. The producers even persuaded George Harrison to play along, giving him the perfect closing line; as he watches the B'Sharps imitate the famous last gig on the rooftop of Apple Corps that the Beatles played, he acerbically mutters, "It's Been Done," and drives off.
The Boulder was actually voiced by former WWF wrestler Mick Foley, as well as being a visual parody of Dwayne "The Rock" Johnson.
Not to mention "The Ember Island Players". How can you not love a show that parodies itself?
The Grim Adventures of Billy & Mandy is fond of this trope. They parody all the time and end up not making it look worse. A particularly affectionate one was "Hokey Monsters", a Pokémon parody, where they make it a card game and bring them to life. They pick at a few aspects of it but in the end it said Pokémon was still awesome. They've done many many others like Mary Poppins and Fantasia's "Night on Bald Mountain" segment.
Shin Chan and Robot Chicken have parodied Star Wars and demonstrated more knowledge of and reverence for the originals than most, including character names and terms that aren't mentioned in the movies.
Kim Possible seems to have been designed from the outset to ask the question "What if Buffy the Vampire Slayer was James Bond", leading to a "affectionate parody of spy movie conventions and superheroes" as part of its central concept.
Kim Possible did an affectionate parody of the 1960s Batman franchise with The Fearless Ferret, whose actor, Timothy North (voiced by Adam West), ended up being a space-case who thought the TV show was real. They also used the episode to poke fun at the upside-down kiss from Spider-Man.
The episode contained another level of affectionate parody, since it featured Ron as the young successor to a costumed legacy, with the original hero giving him constant advice and reprimands via radio. Ron's voice actor, Will Friedle, also voiced Terry McGinniss on Batman Beyond.
Nor was this Adam West's first go-round with such things, as on Batman: The Animated Series, he voiced the actor who played The Grey Ghost, a somewhat campy and clichéd costumed vigilante hero. Other appearances of the character implied that The Grey Ghost may have shared some of West's Large Ham tendencies.
Metalocalypse, the parody of death metal whose soundtrack album made those in the same genre it parodies stop and take notes. It helps that the creator is a huge fan of the music, even including other parodies of the genre in his previous show, Home Movies.
The Powerpuff Girls episode "I See a Funny Cartoon in Your Future" spoofs Rocky and Bullwinkle and includes not only a caricature of Jay Ward at the end but has June Foray (Rocky, Natasha) as the voice of the ep's villain.
Also of note is their episode parodying The Beatles, which was full of jokes and references that made it clear that they were very familiar with the band.
Duck Dodgers featured an episode that not only parodied Samurai Jack—Dodgers dreaming he's Samurai Quack—but the dream sequence itself was directed by SJ creator Genndy Tartakovsky and featured Mako as the voice of Quack's adversary Achoo.
Another episode featured an incredibly close to its source parody of Green Lantern, complete with Kilowog, Ch'p, Ganthet, Sinestro, and more.
The show itself is an affectionate parody of sci-fi has a whole.
The Freakazoid!! segment "Toby Danger" parodied Jonny Quest TOS. They even went so far as to get Don Messick (Benton Quest) and Granville Van Dusen (Race Bannon) to do the voices of their parody characters.
The Fairly OddParentsmovie, Channel Chasers, is all about this as Timmy, Cosmo, Wanda and Vicky go through various parodies of popular shows. It was finally lampshaded in The Simpsons parody with Timmy writing on the blackboard "This is the sincerest form of flattery."
Fairly OddParents also has the recurring character of Cat-Man, voiced by Adam West; an affectionate parody of his earlier role as TV's Batman.
Archer is an affectionate parody and deconstruction of James Bond and spy fiction in general.
Most of MAD is Affectionate Parody of nearly anything that's been popular in the past 10 years.
Ever After High pokes fun at the awful parts of Fairy Tales while maintaining an upbeat and cheery attitude.