A teleplay is a screenplay or script used in the production of a scripted television program or series. In general usage, the term is most commonly seen in reference to a standalone production, such as a television film, a television play, or an episode of an anthology series. In internal industry usage, however, all television scripts (including episodes of ongoing drama or comedy series) are teleplays, although a "teleplay" credit may be subsumed into a "written by" credit depending on the circumstances of its creation.