Templat:Infobox television season/doc
Templat ini digunakan pada 8.600+ halaman dan perubahannya kemungkinan dipantau. Uji cobalah di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. |
Kotak info ini akan mencetak miring judul artikel secara otomatis. Jika tidak diperlukan, tambahkan |italic_title=no ke dalam daftar parameter. Jika diperlukan tetapi tidak menginginkan judul yang dicetak miring, gunakan |italic_title=force . |
Templat ini menggunakan Lua: |
Usage
suntingInfobox television season/doc | |
---|---|
Musim season_number | |
Pemeran | starring |
Negara asal | country |
Jmlh. episode | num_episodes |
Rilis | |
Jaringan asli | network |
Rilis | first_aired (released) – last aired |
{{Infobox television season | show_name = | pre_season_qualifier = | 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 = <!-- Value is incremented when new episodes air. See template documentation for more info. --> | 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
suntingField 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 five parameters. | plain text |
show_name | required | Show name. The name of the show. | plain text |
pre_season_qualifier | required | Pre-season qualifier. For cases where disambiguation (typically of the show's premiering year) before the season is required (e.g. the pre-season qualifier for Dallas (1978 TV series) (season 7) is (1978 TV series)). | plain text |
season_qualifier | required | Season qualifier. 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. Do not use flag icons, as this places an unnecessary emphasis on nationality - see MOS:INFOBOXFLAG for a detailed rationale. Do not link to a country article, e.g., [[United States]], per WP:OVERLINK. | plain text | |
num_episodes | The number of episodes released in the season. This parameter should only be incremented when new episodes air. An inline citation is required if the total number of episodes produced is greater than the number aired, such as in the case of a show being cancelled. | 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. This field should be left blank if 1) no season article exists or 2) any redirect for the season does not link to a specific section regarding the season. 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. This field should be left blank if 1) no season article exists or 2) any redirect for the season does not link to a specific section regarding the season. 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)
sunting{{Infobox television season | season_name = | show_name = | pre_season_qualifier = | 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
suntingTemplate {{nbsp}}
may be used with {{wbr}}
and {{nowrap}}
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"
suntingThe following table provides an approximate conversion from a "px" value, to an "image_upright" value based on a default thumbnail setting of 220px (size is default multiplied by upright value then rounded to nearest 10).
"px" setting | image_upright= |
---|---|
170 | 0.75 |
180 | 0.8 |
190 | 0.85 |
200 | 0.9 |
210 | 0.95 |
220 | 1 |
230 | 1.05 |
240 | 1.1 |
250 | 1.15 |
260 | 1.2 |
270 | 1.23 |
280 | 1.25 |
290 | 1.3 |
300 | 1.35 |
Tracking categories
sunting- Kategori:Television season articles that use custom fields (0) – articles that use custom fields
- Kategori:Articles using Template:Infobox television season with invalid colour combination (0) – articles that use WP:COLOR-violating colour combinations
- Kategori:Pages using infobox television season with unknown parameters (61) – articles using unsupported infobox parameters
- Kategori:Infobox television season articles that use the season_name parameter (0)
Microformat
suntingThe 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
suntingInfobox television season/doc | |
---|---|
Musim 12 | |
Pemeran | |
Negara asal | Amerika Serikat |
Jmlh. episode | 24 |
Rilis | |
Jaringan asli | CBS |
Rilis | 23 September 2014 12 Mei 2015 | –
{{Infobox television season | italic_title = no | show_name = NCIS | season_number = 12 | bgcolour = #9F3500 | image = Example-serious.jpg | caption = Sampul DVD A.S. Musim 12 | starring = {{Plainlist| * [[Mark Harmon]] * [[Michael Weatherly]] * [[Pauley Perrette]] * [[Sean Murray (aktor)|Sean Murray]] * [[Brian Dietzen]] * [[Emily Wickersham]] * [[Rocky Carroll]] * [[David McCallum]] }} | country = Amerika Serikat | num_episodes = 24 | network = [[CBS]] | first_aired = {{Start date|2014|9|23}} | last_aired = {{End date|2015|5|12}} | episode_list = Daftar episode NCIS }}
Subpages
suntingThe following is a list of subpages of {{Infobox television season}}, which are not redirects.
See also
sunting- Template:Episode list for creating an episode list.
References
sunting