No edit summary Tag: Visual edit |
No edit summary Tag: Visual edit |
||
Line 12: | Line 12: | ||
|[[Template:Ep airdate]] |
|[[Template:Ep airdate]] |
||
|Returns the airdate of an episode |
|Returns the airdate of an episode |
||
+ | |- |
||
+ | |[[Template:Ep pretty airdate]] |
||
+ | |Returns a long airdate for an episode (substituted into article pages) |
||
|- |
|- |
||
|[[Template:Ep vodlinks]] |
|[[Template:Ep vodlinks]] |
Revision as of 00:59, 1 June 2019
There are a few templates set up to make referencing episode data easier.
Template | Use |
---|---|
Template:Ep_name | Returns the name of an episode nicely printed |
Template:Cite vod | Use this to cite an episode or a particular time in an episode |
Template:Ep airdate | Returns the airdate of an episode |
Template:Ep pretty airdate | Returns a long airdate for an episode (substituted into article pages) |
Template:Ep vodlinks | Returns vod links for an episode in short format (for "List of Episodes" pages) |
Template:Ep verbose vodlinks | Returns a bullet-point list of episode vods (for "Links" sections on episode pages) |
Template:Ep list | Returns an episode list for a show (for "List of Episodes") pages |
Template:Ep raw | Returns other metadata about an episode (not widely used) |
Adding new episodes to the template
To add new data to all these templates, go to Module:EpisodeData and update the large table there with the new data. As soon as you make a change here, it's reflected on every page where the above templates are used.
Code
Module:Episode is the code that drives the templates. You can use this to add new types of templates.