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/Switcher:  Converts episode names and numbers to a standardized name or the [Chapter]x[Episode] shortcode.
 * Module:AirdateOrder: Assists with relational identification of episodes by airdate order.

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 Geek & Sundry's episode number, this wiki's Campaign x Episode format of CxEE, the episode name, and the wikilinked episode name. All of the following ways of using the ep template will produce the same output, except when the provided name or number isn't recognized:

Optional Parameters
The following optional parameters may be used to modify how the episode name is displayed. Except as noted, the optional parameters may be used at the same time:

Errors
If the episode does not exist, then the template will produce the text provided:

However, when linking to an existing episode, it is preferable to provide custom text using the parameter along with the actual episode name or number. That way, the trailing (CxEE) and tooltip will still function, as will the link to the episode's page.