Template:Ep/doc

This ep template translates an episode name or number into a wikilinked episode title. Almost any format of the name or number should work, but please leave a comment on the this template's talk page if you've encountered an error.

Dependencies

 * Module:Ep/Matcher:  Converts episode names and numbers to a standardized [Campaign]x[Episode] shortcode.
 * Module:Ep/Info: Given a standardized shortcode, returns information about an episode such as its title and pagename.

Usage
To use this template, simple write  and replace the red "Episode" with the name or number of the episode:

The episode parameter can be provided in many different formats, including "C[campaign]E[episode]" (e.g. "C3E21"), this wiki's Campaign x Episode format of CxEE, the episode name, and the episode pagename. It is case-insensitive, so capitalization does not matter. All of the following ways of using the ep template will produce the same output:

Optional parameters
The following optional parameters may be used to modify how the episode name is displayed. Any optional parameters may be used together:

Errors
If the episode code or name does not exist, then it will display as Undefined Episode and the article will be added to the maintenance category Category:Ep calls to undefined episodes. To find the correct name or episode code, you can consult Module:Ep/Array, which documents every episode's standardized code, title, pagename, and alternate titles.