A storyline was the broad arc of a story, usually just a sentence or two in length, summarizing its main features.
In 2384, after Hologram Dal mentioned that the mystery was like the one in The Doctor's novel, Love in the Time of Holograms, he finally put it together. The Doctor then complained that he was "betrayed by my own brilliant storylines." (PRO: "Is There in Beauty No Truth?")