Module:Goon Show episode short description/doc: Difference between revisions
From The Goon Show Depository
No edit summary |
|||
Line 2: | Line 2: | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}} | {{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}} | ||
'''Module: | '''Module:Goon Show episode short description''' extracts data from a Goon Show episode article's [[Template:Infobox Goon Show episode]] and creates a relevant [[GSD:Short description|short description]] based on the data available. | ||
This module implements the {{tl| | This module implements the {{tl|Goon Show episode short description}} template. | ||
== Usage == | == Usage == | ||
Line 11: | Line 11: | ||
== Parameter list == | == Parameter list == | ||
<section begin=Parameters/> | <section begin=Parameters/> | ||
The parameter names use a corresponding parameter from [[Template:Infobox | The parameter names use a corresponding parameter from [[Template:Infobox Goon Show episode]] to fill in the data. They are listed below. | ||
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 19:53, 15 November 2022
This module depends on the following other modules: |
This Lua module is used on many pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
Module:Goon Show episode short description extracts data from a Goon Show episode article's Template:Infobox Goon Show episode and creates a relevant short description based on the data available.
This module implements the {{Goon Show episode short description}} template.
Usage
{{#invoke:Goon Show episode short description|getShortDescription}}
Parameter list
The parameter names use a corresponding parameter from Template:Infobox Goon Show episode to fill in the data. They are listed below.
Parameter | Corresponding infobox parameter | Description |
---|---|---|
series_name
|
series
|
The TV series name. |
episode_num
|
episode
|
The episode's number. |
season_num
|
season
|
The season's number. |
season_num_uk
|
series_no
|
The season's number if using the British "series" term. |
not_dab
|
same name | Set if the TV series name has parentheses as part of its name. |
special
|
same name | Setting to "yes" will set the description as a "special episode". Any other value will replace the word "special" with the one entered. For example |special=recap will set the text to "recap episode".
|
limited
|
same name | Set if the series is a single season series, such as miniseries or limited series and does not need a season number as part of the description. |
Examples
Issues
- If an article does not show the short description with the data from the infobox, make sure you entered the parameter names correctly in the infobox.
Tracking categories
- Category:Goon Show episode articles with short description with no series name (0)
- Category:Goon Show episode articles with short description with no season number (0)
- Category:Goon Show episode articles with short description with no episode number (0)
- Category:Goon Show episode articles with short description for single episodes (0)
- Category:Goon Show episode articles with short description for multi-part episodes (0)
- Category:Goon Show episode articles with short description and disambiguated page names (0)
- Category:Pages using Goon Show episode short description with unknown parameters (0)
See also
- Template:Goon Show episode short description
- Module:Extract short description
- Module:Goon Show episode disambiguation description
- Template:Goon Show episode disambiguation description