Template:Infobox television season/doc
Lua error in package.lua at line 80: module 'strict' not found.
Contents
Usage
Lua error in package.lua at line 80: module 'strict' not found.
Usage
Template loop detected: Template:Infobox television season/doc
{{Infobox television season | show_name = | season_qualifier = | season_type = | season_number = | bgcolour = <!-- Colours used must meet the contrast requirements of WP:COLOR. --> | image = | image_upright = | image_size = | image_alt = | caption = | starring = | country = | num_episodes = | network = | released = <!-- {{Start date|yyyy|mm|dd|df=y}} - Only use this template once--> | first_aired = <!-- {{Start date|yyyy|mm|dd|df=y}} - Only use this template once --> | last_aired = <!-- {{End date|yyyy|mm|dd}} --> | episode_list = }}
Parameters
Field name | Type | Description | Values |
---|---|---|---|
season_name | required | Season name. The series title will be automatically italicised. Only necessary if the complete season name cannot be created with the follow four parameters. | plain text |
show_name | required | Show name. The name of the show. | plain text |
season_qualifier | required | Season qualifer. For cases where disambiguation (typically of the show's origin country) before the season type is required (e.g. the season qualifier for The Apprentice (U.S. season 2) is U.S.). | plain text |
season_type | required | Season type. To determine the usage of the word "season" for American-based shows, or "series" for shows using British-English. | plain text |
season_number | required | Season number. The Xth season of this particular show. This number is also used to generate links for the previous and next seasons, if applicable. | number |
bgcolour | optional | Six-digit hex code used to colour header rows. Must include a hash symbol (#) before the code. e.g. #81a6e3 . The contrast between background and foreground colors, if used, must meet the guidelines at WP:COLOR. |
hex code |
image | A suitable image. The image does not need to be wikilinked and should exclude "File:" e.g. Example.png and underscores should not replace spaces. Typically the image will be DVD cover art, although this is not mandated. Free content should be used where available. |
raw image name excluding "File:" | |
image_upright | Use of this parameter is preferred to using "image_size", as it allows autosizing of images according to user preferences. By default the infobox image scales to upright=1, which is 220 px if the default thumbnail size has not been changed at Special:Preferences) The size should not be set to a value that would result in an image width greater than 300px. | raw number | |
image_size | Width of the image in pixels, excluding "px". If not specified the image width defaults to the value explained above in "image_upright". The size should not be set greater than 300px. | raw number | |
image_alt | Alt text, as required by MOS:ALT. | wikitext, may include links | |
caption | A caption for the image | ||
starring | optional, desirable | The show's star or stars. Separate multiple entries using {{Plainlist}} or {{Unbulleted list}}. Cast are listed in original credit order followed by order in which new cast joined the show. Years and/or seasons should not be included. | wikitext, may include links |
country | Country of origin. Country names should not be linked as they are considered to be major geographic locations and, as per WP:OVERLINK, major geographic locations are not linked. | plain text | |
num_episodes | Number of episodes in the season. This field should remain empty until the season has finished airing. | number | |
network | name of the network on which the season aired. | wikitext, may include links | |
released | Date all episodes for the season were released, generally for those airing on streaming media sites such as Netflix, using {{Start date}}. e.g. {{Start date|2011|9|23}} or {{Start date|2011|9|23|df=y}} |
date formatted using {{Start date}}. Use "|df=y ", when appropriate, to show "23 May" instead of "May 23,". |
|
first_aired | Date the season commenced airing, using {{Start date}}. e.g. {{Start date|2011|9|23}} or {{Start date|2011|9|23|df=y}} Only insert the date after it has happened. |
date formatted using {{Start date}}. Use "|df=y " when appropriate. |
|
last_aired | Date the season finished airing, using {{End date}}. e.g. {{End date|2012|5|17}} or {{End date|2012|5|17|df=y}} While the season is airing, {{End date|present}} should be used. |
date formatted using {{End date}}. "|df=y ". |
|
prev_season or prev_series |
optional, desirable | If one exists, this field should include a wikilink to the previous season in the series. If no season article exists (a redirect is not an article), this field should be left blank. Only required if the previous season link cannot be automatically generated by the template using the "season_number" variable. (e.g. Road Rules: South Pacific) | wikitext, should include a wikilink to the appropriate article. |
next_season or next_series |
If one exists, this field should include a wikilink to the next season in the series. If no season article exists (a redirect is not an article), this field should be left blank. Only required if the next season link cannot be automatically generated by the template using the "season_number" variable. (e.g. Road Rules: South Pacific) | ||
episode_list | If one exists, this field should include the name of the main episode list article for the series. If no article exists, this field should be left blank. Wikilinking is not required. The article name will be formatted and wikilinked automatically by the infobox. For example |episode_list=List of NCIS episodes will result in List of NCIS episodes. |
plain text, should not be wikilinked. | |
The following fields are not for general use. They are only to be used in articles that previously used forks of this template that have been deleted or are otherwise no longer used and even then, they are only to be used to replace parameters that existed in the forked templates. When completed, data will appear underneath a header titled "Additional information". |
|||
film_start | optional | Date filming of the season commenced, using {{Start date}}. e.g. {{Start date|2011|1|5}} Should include a reference if the date is not referenced in the article's prose. |
date formatted using {{Start date}}. Use "|df=y " when appropriate. |
film_end | Date filming of the season ended, using {{End date}}. e.g. {{End date|2011|3|31}} Should include a reference if the date is not referenced in the article's prose. If film_start does not exist, film_end will not display. |
date formatted using {{End date}}. Use "|df=y " when appropriate. |
|
celebrity_winner | This field is for use in dance competition related programs and lists the name of the celebrity winner of the competition. | wikitext, may include links | |
professional_winner | This field is for use in dance competition related programs and lists the name of the professional dancer who won the competition. | ||
website | Relevant website details. Use www |
url. Use {{URL}} | |
Note: Do not link to an article more than once in the infobox. |
All parameters (not for general use)
{{Infobox television season | season_name = | show_name = | season_qualifier = | season_type = | season_number = | bgcolour = <!-- Colours used must meet the contrast requirements of WP:COLOR. --> | image = | image_upright = | image_size = | image_alt = | caption = | starring = | country = | num_episodes = | network = | released = <!-- {{Start date|yyyy|mm|dd}} --> | first_aired = <!-- {{Start date|yyyy|mm|dd}} --> | last_aired = <!-- {{End date|yyyy|mm|dd}} --> | film_start = <!-- This field is only for use in certain articles. --><!-- {{Start date|yyyy|mm|dd}} --> | film_end = <!-- This field is only for use in certain articles. --><!-- {{End date|yyyy|mm|dd}} --> | celebrity_winner = <!-- This field is only for use in certain articles. --> | professional_winner = <!-- This field is only for use in certain articles. --> | website = <!-- {{URL|}} --> | prev_season = <!-- or |prev_series = --> | next_season = <!-- or |next_series = --> | episode_list = }}
Controlling line-breaking in embedded bulletless lists
Template Script error: No such module "Template link general". may be used with Script error: No such module "Template link general". and Script error: No such module "Template link general". to control line-breaking in bulletless lists embedded in the infobox (e.g. cast and other credits lists), to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.
Calculating "image_upright"
The following table provides an approximate conversion from a "px" value, to an "image_upright" value based on a default thumbnail setting of 220px.
"px" setting | image_upright= |
---|---|
200 | 0.9 |
210 | 0.95 |
220 | 1.00 |
225 | 1.02 |
230 | 1.05 |
235 | 1.07 |
240 | 1.09 |
245 | 1.11 |
250 | 1.14 |
255 | 1.16 |
260 | 1.18 |
265 | 1.2 |
270 | 1.23 |
Tracking categories
Articles that use custom fields are added to Category:Television season articles that use custom fields and articles that use WP:COLOR-violating colour combinations are added to Category:Articles using Template:Infobox television season with invalid colour combination.
Infoboxes using unsupported parameters are tracked in Category:Pages using infobox television season with unknown parameters.
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes this microformat uses include:
-
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Example
![]() Season 12 U.S. DVD cover
|
|
Starring | <templatestyles src="Plainlist/styles.css"/> |
Country of origin | United States |
No. of episodes | 24 |
Release | |
Original network | CBS |
Original release | September 23, 2014 | – May 12, 2015
{{Infobox television season | italic_title = no | show_name = NCIS | season_number = 12 | bgcolour = #9F3500 | image = Example-serious.jpg | caption = Season 12 U.S. DVD cover | starring = {{Plainlist| * [[Mark Harmon]] * [[Michael Weatherly]] * [[Pauley Perrette]] * [[Sean Murray (actor)|Sean Murray]] * [[Brian Dietzen]] * [[Emily Wickersham]] * [[Rocky Carroll]] * [[David McCallum]] }} | country = United States | num_episodes = 24 | network = [[CBS]] | first_aired = {{Start date|2014|9|23}} | last_aired = {{End date|2015|5|12}} | episode_list = List of NCIS episodes }}
Subpages
The following is a list of subpages of {{Infobox television season}}, which are not redirects.
- Template documentation
- Template sandbox
- Template testcases
See also
- Template:Episode list for creating an episode list.
References
{{Infobox television season | show_name = | season_qualifier = | season_type = | season_number = | bgcolour = <!-- Colours used must meet the contrast requirements of WP:COLOR. --> | image = | image_upright = | image_size = | image_alt = | caption = | starring = | country = | num_episodes = | network = | released = <!-- {{Start date|yyyy|mm|dd|df=y}} - Only use this template once--> | first_aired = <!-- {{Start date|yyyy|mm|dd|df=y}} - Only use this template once --> | last_aired = <!-- {{End date|yyyy|mm|dd}} --> | episode_list = }}
Parameters
Field name | Type | Description | Values |
---|---|---|---|
season_name | required | Season name. The series title will be automatically italicised. Only necessary if the complete season name cannot be created with the follow four parameters. | plain text |
show_name | required | Show name. The name of the show. | plain text |
season_qualifier | required | Season qualifer. For cases where disambiguation (typically of the show's origin country) before the season type is required (e.g. the season qualifier for The Apprentice (U.S. season 2) is U.S.). | plain text |
season_type | required | Season type. To determine the usage of the word "season" for American-based shows, or "series" for shows using British-English. | plain text |
season_number | required | Season number. The Xth season of this particular show. This number is also used to generate links for the previous and next seasons, if applicable. | number |
bgcolour | optional | Six-digit hex code used to colour header rows. Must include a hash symbol (#) before the code. e.g. #81a6e3 . The contrast between background and foreground colors, if used, must meet the guidelines at WP:COLOR. |
hex code |
image | A suitable image. The image does not need to be wikilinked and should exclude "File:" e.g. Example.png and underscores should not replace spaces. Typically the image will be DVD cover art, although this is not mandated. Free content should be used where available. |
raw image name excluding "File:" | |
image_upright | Use of this parameter is preferred to using "image_size", as it allows autosizing of images according to user preferences. By default the infobox image scales to upright=1, which is 220 px if the default thumbnail size has not been changed at Special:Preferences) The size should not be set to a value that would result in an image width greater than 300px. | raw number | |
image_size | Width of the image in pixels, excluding "px". If not specified the image width defaults to the value explained above in "image_upright". The size should not be set greater than 300px. | raw number | |
image_alt | Alt text, as required by MOS:ALT. | wikitext, may include links | |
caption | A caption for the image | ||
starring | optional, desirable | The show's star or stars. Separate multiple entries using {{Plainlist}} or {{Unbulleted list}}. Cast are listed in original credit order followed by order in which new cast joined the show. Years and/or seasons should not be included. | wikitext, may include links |
country | Country of origin. Country names should not be linked as they are considered to be major geographic locations and, as per WP:OVERLINK, major geographic locations are not linked. | plain text | |
num_episodes | Number of episodes in the season. This field should remain empty until the season has finished airing. | number | |
network | name of the network on which the season aired. | wikitext, may include links | |
released | Date all episodes for the season were released, generally for those airing on streaming media sites such as Netflix, using {{Start date}}. e.g. {{Start date|2011|9|23}} or {{Start date|2011|9|23|df=y}} |
date formatted using {{Start date}}. Use "|df=y ", when appropriate, to show "23 May" instead of "May 23,". |
|
first_aired | Date the season commenced airing, using {{Start date}}. e.g. {{Start date|2011|9|23}} or {{Start date|2011|9|23|df=y}} Only insert the date after it has happened. |
date formatted using {{Start date}}. Use "|df=y " when appropriate. |
|
last_aired | Date the season finished airing, using {{End date}}. e.g. {{End date|2012|5|17}} or {{End date|2012|5|17|df=y}} While the season is airing, {{End date|present}} should be used. |
date formatted using {{End date}}. "|df=y ". |
|
prev_season or prev_series |
optional, desirable | If one exists, this field should include a wikilink to the previous season in the series. If no season article exists (a redirect is not an article), this field should be left blank. Only required if the previous season link cannot be automatically generated by the template using the "season_number" variable. (e.g. Road Rules: South Pacific) | wikitext, should include a wikilink to the appropriate article. |
next_season or next_series |
If one exists, this field should include a wikilink to the next season in the series. If no season article exists (a redirect is not an article), this field should be left blank. Only required if the next season link cannot be automatically generated by the template using the "season_number" variable. (e.g. Road Rules: South Pacific) | ||
episode_list | If one exists, this field should include the name of the main episode list article for the series. If no article exists, this field should be left blank. Wikilinking is not required. The article name will be formatted and wikilinked automatically by the infobox. For example |episode_list=List of NCIS episodes will result in List of NCIS episodes. |
plain text, should not be wikilinked. | |
The following fields are not for general use. They are only to be used in articles that previously used forks of this template that have been deleted or are otherwise no longer used and even then, they are only to be used to replace parameters that existed in the forked templates. When completed, data will appear underneath a header titled "Additional information". |
|||
film_start | optional | Date filming of the season commenced, using {{Start date}}. e.g. {{Start date|2011|1|5}} Should include a reference if the date is not referenced in the article's prose. |
date formatted using {{Start date}}. Use "|df=y " when appropriate. |
film_end | Date filming of the season ended, using {{End date}}. e.g. {{End date|2011|3|31}} Should include a reference if the date is not referenced in the article's prose. If film_start does not exist, film_end will not display. |
date formatted using {{End date}}. Use "|df=y " when appropriate. |
|
celebrity_winner | This field is for use in dance competition related programs and lists the name of the celebrity winner of the competition. | wikitext, may include links | |
professional_winner | This field is for use in dance competition related programs and lists the name of the professional dancer who won the competition. | ||
website | Relevant website details. Use www |
url. Use {{URL}} | |
Note: Do not link to an article more than once in the infobox. |
All parameters (not for general use)
{{Infobox television season | season_name = | show_name = | season_qualifier = | season_type = | season_number = | bgcolour = <!-- Colours used must meet the contrast requirements of WP:COLOR. --> | image = | image_upright = | image_size = | image_alt = | caption = | starring = | country = | num_episodes = | network = | released = <!-- {{Start date|yyyy|mm|dd}} --> | first_aired = <!-- {{Start date|yyyy|mm|dd}} --> | last_aired = <!-- {{End date|yyyy|mm|dd}} --> | film_start = <!-- This field is only for use in certain articles. --><!-- {{Start date|yyyy|mm|dd}} --> | film_end = <!-- This field is only for use in certain articles. --><!-- {{End date|yyyy|mm|dd}} --> | celebrity_winner = <!-- This field is only for use in certain articles. --> | professional_winner = <!-- This field is only for use in certain articles. --> | website = <!-- {{URL|}} --> | prev_season = <!-- or |prev_series = --> | next_season = <!-- or |next_series = --> | episode_list = }}
Controlling line-breaking in embedded bulletless lists
Template Script error: No such module "Template link general". may be used with Script error: No such module "Template link general". and Script error: No such module "Template link general". to control line-breaking in bulletless lists embedded in the infobox (e.g. cast and other credits lists), to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.
Calculating "image_upright"
The following table provides an approximate conversion from a "px" value, to an "image_upright" value based on a default thumbnail setting of 220px.
"px" setting | image_upright= |
---|---|
200 | 0.9 |
210 | 0.95 |
220 | 1.00 |
225 | 1.02 |
230 | 1.05 |
235 | 1.07 |
240 | 1.09 |
245 | 1.11 |
250 | 1.14 |
255 | 1.16 |
260 | 1.18 |
265 | 1.2 |
270 | 1.23 |
Tracking categories
Articles that use custom fields are added to Category:Television season articles that use custom fields and articles that use WP:COLOR-violating colour combinations are added to Category:Articles using Template:Infobox television season with invalid colour combination.
Infoboxes using unsupported parameters are tracked in Category:Pages using infobox television season with unknown parameters.
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes this microformat uses include:
-
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Example
![]() Season 12 U.S. DVD cover
|
|
Starring | <templatestyles src="Plainlist/styles.css"/> |
Country of origin | United States |
No. of episodes | 24 |
Release | |
Original network | CBS |
Original release | September 23, 2014 | – May 12, 2015
{{Infobox television season | italic_title = no | show_name = NCIS | season_number = 12 | bgcolour = #9F3500 | image = Example-serious.jpg | caption = Season 12 U.S. DVD cover | starring = {{Plainlist| * [[Mark Harmon]] * [[Michael Weatherly]] * [[Pauley Perrette]] * [[Sean Murray (actor)|Sean Murray]] * [[Brian Dietzen]] * [[Emily Wickersham]] * [[Rocky Carroll]] * [[David McCallum]] }} | country = United States | num_episodes = 24 | network = [[CBS]] | first_aired = {{Start date|2014|9|23}} | last_aired = {{End date|2015|5|12}} | episode_list = List of NCIS episodes }}
Subpages
The following is a list of subpages of {{Infobox television season}}, which are not redirects.
- Template documentation
- Template sandbox
- Template testcases
See also
- Template:Episode list for creating an episode list.