A template used to list the Fallout Television Series episodes a character appears in and to automatically add the appropriate episode categories to the page.
This template is powered by Module:Episodes and uses structured episode data stored in Module:Episodes/Data.
Usage[edit]
Set any season, episode, or bonus episode parameter to yes to indicate that the character appears in that episode.
The template will:
- Automatically group episodes by season
- Display episode links in correct numeric order
- Separate regular episodes and bonus episodes
- Add the correct episode categories to the page
- Safely ignore invalid or unknown parameters
This template is usually placed inside the episodes field of an infobox.
Other than seasons and episodes, there is also a parameter for type. This will set which category type it goes to. The default when type isn't specified is "character" which displays the categories for "Characters".
Types:
- character : Characters
- location : locations
Basic example[edit]
{{Episodes
|S1=yes
|S1E1=yes
|S1E5=yes
}}
This will display a Season 1 header followed by the selected episodes.
Multiple seasons[edit]
{{Episodes
|S1=yes|S2=yes|S3=yes
|S1E1=yes|S1E2=yes|S1E3=yes
|S2E4=yes|S2E6=yes
|S3E1=yes
}}
Episodes are always sorted numerically, even if parameters are provided out of order.
Bonus episodes[edit]
Bonus episodes are supported for any season.
Bonus episodes use the format:
S1B1,S1B2, etc.S2B1,S3B1, and so on
If bonus episodes are present, they are listed under a separate header for that season.
{{Episodes
|S1=yes
|S1E1=yes
|S1E2=yes
|S1B1=yes
|S1B2=yes
}}
This will display:
- Season 1 regular episodes
- Season 1 bonus episodes under a separate “Bonus Episodes” header
Infobox usage[edit]
{{Infobox character
|games = FOTV
|image = S1E5 Barb Howard.jpg
|episodes =
{{Episodes
|S1=yes|S2=yes
|S1E1=yes|S1E2=yes|S1E5=yes
|S2E1=yes
|S1B1=yes
}}
|affiliation = [[Vault-Tec Corporation]]
}}
Parameters[edit]
Season parameters[edit]
S1,S2,S3, etc.
Setting a season to yes enables the season header when episodes from that season are listed.
Episode parameters[edit]
S1E1,S1E2,S2E4, etc.
Bonus episode parameters[edit]
S1B1,S1B2,S2B1, etc.
All parameters accept yes. Any other value is ignored.
Data source[edit]
All episode titles, links, season numbers, bonus flags, and categories are defined in:
To add, rename, or adjust episodes (including bonus episodes), edit the data module.
No changes to Template:Episodes are required.
Notes[edit]
- The template performs automatic numeric sorting.
- Invalid or unknown episode codes are safely ignored.
- Categories are added automatically based on episode data.
- Bonus episode support is season-agnostic.
