Template:Episode tab/doc

Usage
 

type = the type of page to be used. Choices:
 * main = Main
 * transcript = Transcript
 * subtitle = Subtitle
 * caption = Caption
 * script = Script

The template will pick up the main page that it is used on (the "BASEPAGENAME" in the code). For example, if the template is placed on Mysterious Shadow/transcript, the Basepagename will be Mysterious Shadow. This template is based on a similar code from the Simpsons Wiki, found here.