Template:Television franchise episode count
Template:Template shortcut Template:TOC limit
Usage[edit source]
The purpose of the {{Television franchise episode count}} template is to add a formatted standardized sentence detailing the series related to a specific television franchise; the template currently supports franchises of up to 15 series. This includes the total episode and season counts, the values for which the template gains through the |num_episodes= and |num_seasons= parameters in each articles use of {{Infobox television}}; or, this can be overridden and the total episode and season counts can be entered manually. The template also shortens each series' name by removing the franchise prefix.
Syntax[edit source]
<syntaxhighlight lang="wikitext">Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. television series make up the TEXT TEXT franchise: All series in total amount to NUMBER episodes across Lua error in Module:Spellnum_per_MOS at line 18: attempt to compare nil with number. seasons of television, including Lua error in Module:Spellnum_per_MOS at line 18: attempt to compare nil with number. specials.</syntaxhighlight>
Example[edit source]
<syntaxhighlight lang="wikitext">Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. television series make up the The Walking Dead franchise: The Walking Dead, Fear the Walking Dead, World Beyond, and Tales of the Walking Dead. All series in total amount to Expression error: Unrecognized punctuation character "[". episodes across Lua error in Module:Spellnum_per_MOS at line 18: attempt to compare nil with number. seasons of television.</syntaxhighlight>
Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. television series make up the The Walking Dead franchise: The Walking Dead, Fear the Walking Dead, World Beyond, and Tales of the Walking Dead. All series in total amount to Expression error: Unrecognized punctuation character "[". episodes across Lua error in Module:Spellnum_per_MOS at line 18: attempt to compare nil with number. seasons of television.
<syntaxhighlight lang="wikitext">Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. television series make up the Star Wars animated micro-series franchise: Clone Wars, Blips, Forces of Destiny, Galaxy of Adventures, Roll Out, Galaxy of Creatures, and Galactic Pals. All series in total amount to 171 episodes across Lua error: expandTemplate: template "yesno" does not exist. seasons of television, including Lua error: expandTemplate: template "spellnum" does not exist. special.</syntaxhighlight>
Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. television series make up the Star Wars animated micro-series franchise: Clone Wars, Blips, Forces of Destiny, Galaxy of Adventures, Roll Out, Galaxy of Creatures, and Galactic Pals. All series in total amount to 171 episodes across Lua error: expandTemplate: template "yesno" does not exist. seasons of television, including Lua error: expandTemplate: template "spellnum" does not exist. special.
Parameters[edit source]
| Type | Parameter | Description | Type | Status |
|---|---|---|---|---|
| Franchise | franchise | The title of the franchise overall, unformatted. Format: The Walking Dead |
Text | Required |
| Type of franchise | type | The format type of a subsection of the franchise overall, for franchise listings that are separate based on format style (e.g. animated, live-action, phases, etc). This is included in the prose as "the [franchise name] [type] franchise". Format: live-action |
Text | Optional |
| All episodes | allepisodes | The total number of all episodes. Entering this completely overrides the automatic addition of the episode counts from each television series' article. Format: 800 |
Number | Optional |
| All seasons | allseasons | The total number of all seasons. Entering this completely overrides the automatic addition of the season counts from each television series' article. Format: 100 |
Number | Optional |
| Specials | specials | The total number of specials, which will add an extra string, located after total number of seasons, detailing the numbre of specials. Format: 1 |
Number | Optional |
| Series names and articles | {1-15} | The title of each television series' article, including disambiguation, as unnamed parameters. These are used to gather the episode and season counts, as well as formatted and their base name extracted for the listing of the franchise's series. (To avoid the franchise name being removed from the beginning of each series' title, add {{0ws}} after the |franchise= value). This is required even if |allepisodes= and/or |allseasons= are set, to generate the listing of the franchise's series.Format: The Walking Dead (TV series) |
Text | Required |