In 1986 The Young and the Restless star Peter Bergman said, in an ad for Vicks Formula 44 cough syrup, “I’m not a doctor, but I play one on TV.” [See the ad on YouTube.] The statement seems to have been intended as a sort of legal disclaimer, a different way of saying, “Consult with your physician before using this product.” (According to poster starflyer on Everything2.com, they were required by federal authority to use the line.)
The modern usage seems intended to qualify the speaker as a non-expert at job X, but without completely removing him from the realm of credibility on subject X. If a writer puts this phrase in another speaker’s mouth, it is to give a sense that that speaker doesn’t actually know what he’s talking about. (E.g., “I’m not a leftist, but I play one on TV“.)
It is also possible to vary the second half of this sentence a little, as in “I’m not an linguist, nor do I play one on TV.”
I like how the story on this one cleaves directly to the original: “I’m not a Congressman, but I play one on TV“.
Other Xs on the web: programmer, lawyer, Christian, notes expert.
[Thanks to Mr. Verb today for the pointer inspiring me to write this post. I was feeling overwhelmed with the queue before that.]
Edited to add: This one was covered at some length on Language Log in October 2005. I have been remiss [again, argh] in checking in on snowclones there before posting there. Thoroughness turns out to be more time-consuming than I realized. Arnold Zwicky says “I am not a semanticist, though I play one at Language Log Plaza…”, which suggests that the “TV” slot may be its own variable. And the pronoun “I” can vary in the first half, at least; the second half is more fixed, as in “It’s not real news, but it plays one on TV” and “I’m not Russian, but I play one on TV”. Dr. Zwicky traces the history of the original utterance of the future snowclone through a couple of actors, including Peter Bergman, Chris Robinson and not Robert Young, AKA Marcus Welby, M.D. As far as Dr. Zwicky’s research and my YouTube searching can tell me, Robert Young did not say “I’m not a doctor, but I play one on TV”, but he appeared in enough ads as a doctor, as well as elsewhere as himself, that people remembering the ad conflated his doctor with other advertisement doctors.