Template:EpisodesList/doc


 * Template:EpisodeList displays an automatically-generated list showcasing the video articles on our website. It is used for generating a list of a Legate's episodes (that the wiki has Episode Articles on).


 * Syntax


 * season
 * 'season' can be any number from 1-2. This specifies the season which the template will look up. It refers to a Vanilla Season.
 * If this option is left empty (out) it displays all the Episodes for that Legate, regardless of which seasons they have. This is not recommended as the template does not display & sort by season. So it is recommended to specify the season.


 * legate
 * 'legate' can be any Legate's full name. This specifies which legate category to use in the list. It has to be the same category that all the episode articles are tagged with.
 * This option can be left empty when the template is being used on the Legate's page, as the template automatically fetches the Base Name Page. However on other pages (like this one!), one needs to specify the legate's name.


 * id
 * This is highly optional, it only has to be used when on the same page, there is more than 1 EpisodesList template referencing the same Season. This is because if there are multiple dropdowns on the page, the code that does the dropdown gets confused.


 * title
 * This is optional. It overrides the default title, which is shown in the blue box. The default title is Archelaus' s Season 1 Episodes.


 * Examples
 * outputs:


 * outputs:


 * How does this work?
 * This template uses Dynamic Page Listing to automatically generate the list. It lists pages that have the categories: Category:Episodes, the Legate Name and the season which are specified by the template variables. If a page on this wiki does ve proper categories, it will not show up on the list.


 * This template fetches information from the Infobox/Video on the listed page. If the page has missing information on the infobox, it will not show up properly on the list.


 * Dev Notes
 * Change logs:
 * 30/5/2020: Added ID option so the JavaScript code does not conflict in the dropdown, added Title override. Also added Tooltip Title for links (for better accessibility).