Module:Ep/Info/doc

You can invoke this module from a template to get back episode information from a string representing an episode code or name in Module:Ep/Array. To get a formatted string similar to Ep, invoke Module:Ep instead.

Invoking from template
This module can return either the episode code, title, or pagename. Here it is invoked for the latest episode of Campaign 3:

Here it is for a case where the pagename and episode title differ:

Module:Ep combines all three of these values into a standardized format:



You can also get the campaign name or season number of an episode, which utilizes Module:Ep/Decoder. When appropriate, some seasons are named instead of numbered. Note that,  , and any other string is equivalent after the equals sign.

Calling from another module
You can also get the episode number, title, pagename, campaign, and/or season in another module. Note that in this case, the module expects  to be a string, not a frame. Within a function, that might look something like: