The Dark Knight Trilogy does this in all three movies, blending together some of the best-remembered aspects of many classic Batman stories. To elaborate:
Batman Begins uses elements of Frank Miller's Batman: Year One, Jeph Loeb's The Long Halloween, and Sam Hamm's "Blind Justice" arc. It's an Origin Story that depicts the early years of Bruce Wayne's crusade against crime, and it prominently features Commissioner Gordon as the co-protagonist (like Year One), but it also features a rookie Batman battling the crime lord Carmine Falcone (like The Long Halloween), and it largely revolves around a young Bruce Wayne's relationship with his Evil Mentor Henri Ducard (like "Blind Justice").
The Dark Knight uses elements of Alan Moore's "The Killing Joke", as well as a few elements of The Long Halloween that Batman Begins didn't use. It revolves around Batman's battle with the Joker, and it features him trying to make a twisted point about human nature by driving a good man to evil (like "The Killing Joke"), but it also depicts Harvey Dent's transformation into Two-Face at the height of his legal battle with the Gotham Mob (like The Long Halloween).
The Dark Knight Rises is most obviously based on Knightfall, but it also takes multiple cues from The Dark Knight Returns and Batman: No Man's Land. It revolves around about Batman's struggle to return to crime-fighting after Bane breaks his back (like Knightfall), but it also features Bruce donning the cape and cowl again after a long retirement (like The Dark Knight Returns), as well as Gotham City being isolated from the rest of the United States by a major disaster (like No Man's Land).
Suicide Squad not only has elements of the 1980s stories, but elements of the New 52 like Harley Quinn being in the Squad and drawing on the Brian Azzarello and Lee Bermejo Joker story for its version of The Joker, including having Jonny Frost working for him.
Wonder Woman combines the original origin story of Wonder Woman (Diana getting involved in a World War, though in this case, World War I), her post-Crisis origin (Ares being the Big Bad), her motivation in the Justice League animated series (the contest to send an Amazon out is Adapted Out and Diana instead goes "Screw my mother's edict, I'm helping!" then proceeds to steal some weapons and armor to help Steve), and her New 52 origin as the daughter of Zeus.
JusticeLeague is based on the New 52 origin for the League (an invasion by Apokolips forces the League to form, Cyborg as a founding member), the backstory of Earth 2 (said invasion led by Steppenwolf rather than Darkseid himself, though Darkseid is present as a Greater-Scope Villain) and The Return of Superman.
Planned sequels would've added two other stories to the mix, as seen in Zack Snyder's Justice League: Final Crisis (where Darkseid enslaves Earth with the Anti-Life Equation) and Injustice: Gods Among Us (where the death of Lois Lane causes Superman to have a FaceāHeel Turn and become a tyrant, and Batman leads a resistance against him, albeit with Darkseid taking Joker's place as the killer).
Justice League Dark: Apokolips War, being set in the New 52-inspired DC Animated Movie Universe, befits its role as a Grand Finale by adapting Darkseid War (the Justice League's own grand finale as a final battle with Darkseid), but also takes in elements of Final Crisis (Darkseid conquers Earth before he can eventually be defeated and has captured Batman) and Future's End (the movie is set five years after the heroes' loss, Darkseid ravages the Earth's core (referencing how Earth 2 was treated badly after Darkseid took it over with its immigrants being part of the story), and several heroes are turned into cyborgs).
The LEGO Batman Movie references plot elements from all the previous live-action film incarnations of Batman (including Batman (1966) and Suicide Squad (2016)) as well as introducing some elements exclusive to the comics such as Dick Grayson becoming Nightwing and the introduction of Barbara Gordon as Batgirl.
Amethyst, Princess of Gemworld: The 2019 series happily mixes tropes and characters from the classic series - Dark Opal as the Big Bad, Turquoise as Amy's friend - 2011 reboot - Amy's mother being in charge of House Amethyst, inter-house politics and corruption among good houses - and even the animated series, which clearly inspired Amy's new design.
Wonder Woman (Rebirth) combines elements of the original Golden Age stories by William Marston with aspects of Post-Crisis. Etta and Steve are supporting characters to Diana but Post Crisis villains, Veronica Cale and the Barbara Minerva incarnation of Cheetah are also present.
Western Animation
The Batman: The Animated Series episode "The Laughing Fish" is mostly adapted from the comics storyline "The Laughing Fish"/"Sign of the Joker!" (Detective Comics #475-476), however, the final act is largely drawn from the unrelated comic story "The Joker's Five-Way Revenge" (Batman #251). This was mainly due to the fact that the ending of the original was devoted to tying up plot threads that were never introduced in TAS or were introduced in a manner that decoupled them from the storyline as presented in the episode as aired. note "The Laughing Fish" was the climax of two subplots that had been brewing for the past six issues — that Hugo Strange had discovered Batman's secret identity and was going to auction it off (ultimately adapted three episodes later as "The Strange Secret of Bruce Wayne"), the attempt royally pissing off both Rupert Thorne — who didn't want to pay Strange's exorbitant price — and The Joker — who wanted the secret to stay secret for reasons of The Only One Allowed to Defeat You. Thorne had Strange killed in an attempt to torture the secret out of him, causing Strange to return as a ghost to haunt Thorne throughout the arc. Meanwhile, Bruce had fallen in love with Silver St. Cloud, who had likewise deduced Batman's identity. It terrified her, and she couldn't mentally cope with a boyfriend who could end up killed by any number of costumed maniacs. She ran, inadvertently being picked up by a Thorne who was also fleeing Gotham. Both would return for Detective 456's climax, however. In it, The Joker tried to kill a third patent office employee in revenge for them not giving him a copyright on his Joker fish, and was also targeting Commissioner Gordon For the Evulz. Batman was able to detect him thanks to a device given him by Strange's ghost before he could strike, and the two have a battle on the girders of a skeleton building. Silver watches, scared out of her wits, and after The Joker seemingly falls to his death, she tells Bruce she's breaking up with him, because she couldn't stand worrying every night if he'd survive. Meanwhile, Thorne shows up, driven half insane by Strange's harassment and turns himself into the police, confessing all of his past mob crimes. To avoid all these storytelling headaches, Dini instead took the ending from "The Joker's Five-Way Revenge!" which depicted The Joker gaining revenge on his old mob because one of them had ratted him out sending him to prison (and neatly explaining his disappearance from the comics for the better part of a decade). Dini replaced the last of the doomed mooks with Harvey Bullock.