Template:Infobox television channel/doc: Difference between revisions

From The Goon Show Depository
en>Jonesey95
(add auto short description)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 11:11, 29 July 2022

{{Infobox television channel}} can be used to provide at-a-glance comparative information on a television channel.

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{caption}}}
Type{{{type}}}
Country{{{country}}}
Broadcast area{{{area}}}
Network{{{network}}}
Stations{{{tv_stations}}}
Transmitters{{{tv_transmitters}}}
Affiliates{{{affiliates}}}
Headquarters{{{headquarters}}}
Programming
Language(s){{{language}}}
Picture format{{{picture_format}}}
Timeshift service{{{timeshift_service}}}
Ownership
Owner{{{owner}}}
Parent{{{parent}}}
Key people{{{key_people}}}
Sister channels{{{sister_channels}}}
History
Launched{{{launch_date}}}
Replaced{{{replaced}}}
Closed{{{closed_date}}}
Replaced by{{{replaced_by}}}
Former names{{{former_names}}}
Links
Webcast{{{webcast}}}
Website{{{website}}}
Availability {{{availability_note}}}
Terrestrial
{{{terr_serv_1}}}{{{terr_chan_1}}}
{{{terr_serv_2}}}{{{terr_chan_2}}}
{{{terr_serv_3}}}{{{terr_chan_3}}}
{{{terr_serv_4}}}{{{terr_chan_4}}}
Streaming media
{{{online_serv_1}}}{{{online_chan_1}}}
{{{online_chan_2}}}
{{{online_serv_3}}}{{{online_chan_3}}}
{{{online_serv_4}}}{{{online_chan_4}}}
{{{embed_header}}}
{{{embedded}}}
{{Infobox television channel
| name = 
| logo = 
| logo_size = 
| logo_alt = 
| logo_caption = 
| image = 
| image_size = 
| image_alt = 
| alt = 
| caption = 
| type = 
| country = 
| area = 
| network = 
| tv_stations = 
| tv_transmitters = 
| affiliates = 
| headquarters = 
| language = 
| languages = 
| picture_format = 
| timeshift_service = 
| owner = 
| parent = 
| key_people = 
| sister_channels = 
| founded = 
| founder = 
| launch_date = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| replaced = 
| closed_date = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| replaced_by = 
| former_names = 
| terr_serv_1 = <!--supports up to _10-->
| terr_chan_1 = 
| online_serv_1 = <!--supports up to _5-->
| online_chan_1 = 
| availability_note = 
| website = <!-- {{URL|example.com}} -->
| webcast = 
| child = 
| embed_header = 
| embedded = 
}}

Example

Sky One
CountryUnited Kingdom
Ireland
Programming
Picture formatHDTV 1080i
Timeshift serviceSky One +1
Ownership
OwnerSky
History
Launched26 April 1982; 42 years ago (26 April 1982)
Former names
  • Satellite Television (1982–1984)
  • Sky Channel (1984–1989)
  • Sky 1 (1996–1997, 2008–2017)
Links
Websitewww.sky.com/watch/channel/sky-one
{{Infobox television channel
| name = Sky One
| launch_date = {{start date and age|26 April 1982}}
| owner = [[Sky Limited|Sky]]
| picture_format = [[HDTV]] [[1080i]]
| country = United Kingdom <br />Ireland
| former_names = {{Plainlist|
* Satellite Television (1982–1984)
* Sky Channel (1984–1989)
* Sky 1 (1996–1997, 2008–2017)
}}
| timeshift_service = Sky One +1
| website = {{url|https://www.sky.com/watch/channel/sky-one}}
}}

Parameters

Calculating "image_upright"

The image_upright parameter, and image2_upright and logo_upright where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at WP:IMAGESIZE, which advises against the use of "px" (for example: thumb|300px), as this forces a fixed image width.

Scalable images respect the user's base preference, which may have been selected for that user's particular devices. Module:InfoboxImage, which is used in this infobox, accommodates the use of scaling. However, setting the appropriate scale is slightly more complex than setting a raw "px" value. This guide provides a quick conversion table to make the process of setting a scale easier. It is based on a default thumbnail setting of 220px.

  • 170pxupright=0.75
  • 180pxupright=0.8
  • 190pxupright=0.85
  • 200pxupright=0.9
  • 210pxupright=0.95
  • 220pxupright=1
  • 230pxupright=1.05
  • 240pxupright=1.1
  • 250pxupright=1.15
  • 260pxupright=1.2
  • 270pxupright=1.23
  • 280pxupright=1.25
  • 290pxupright=1.3
  • 300pxupright=1.35

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox television channel in articles based on its TemplateData.

TemplateData for Infobox television channel

Infobox for television channels and networks

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Channel name, used as a heading

Stringsuggested
Logologo

Logo of the television channel

Fileoptional
Logo sizelogo_size

Size for logo

Stringoptional
Logo upright scaling factorlogo_upright

See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220

Numberoptional
Alternate text for logologo_alt

no description

Contentoptional
Caption for logologo_caption

Caption to appear under the logo

Contentoptional
Second imageimage

Second image or logo to display in the infobox

Fileoptional
Image sizeimage_size

Size for second image

Stringoptional
Second image upright scaling factorimage_upright

See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220

Numberoptional
Alternate text for second imageimage_alt alt

no description

Contentoptional
Caption for second imagecaption

Caption to display under the second image

Contentoptional
Typetype

no description

Contentoptional
Countrycountry

Country in which the television channel is based or to which it primarily broadcasts.

Contentoptional
Broadcast areaarea

Broadcast area covered by or availability of the television network

Contentoptional
Networknetwork

Network of which this channel is a part.

Contentoptional
TV stationstv_stations tvstations

TV stations that are a part of this network.

Contentoptional
TV transmitterstv_transmitters tvtransmitters

TV transmitters used by this network.

Contentoptional
Affiliatesaffiliates

Affiliates (non-owned) of this network. If there is a separate list, link to it.

Contentoptional
Headquartersheadquarters

no description

Contentoptional
Language(s)language languages

Language(s) in which the television channel broadcasts.

Contentoptional
Picture formatpicture_format

Picture format in which the channel broadcasts. (Don't use small text: see MOS:SMALLFONT)

Example
HDTV 1080i
Contentoptional
Timeshift servicetimeshift_service

The name or names of timeshift channel(s)

Contentoptional
Ownerowner

Who owns the television channel (add the owner's parent company/companies if not a well known name)

Contentsuggested
Parentparent

Parent group of the television channel, if separate from the owner

Contentoptional
Key peoplekey_people

Notable key people involved in the operation of the channel.

Contentoptional
Sister channelssister_channels

Related television networks. List only the most relevant. If there are too many, consider finding an appropriate navbox.

Contentoptional
Foundedfounded

Date on which the network was founded, if not the same as the launch date.

Contentoptional
Founderfounder

Founder of the network, if notable.

Contentoptional
Launch datelaunch_date

Launch date of the channel, using {{start date|YYYY|MM|DD}}

Templatesuggested
Replacedreplaced

The channel or network that this channel replaced.

Contentoptional
Closed dateclosed_date

Date on which the channel closed, using {{end date|YYYY|MM|DD}}

Templateoptional
Replaced byreplaced_by

The channel or network that this channel was replaced by.

Contentoptional
Former namesformer_names

The former names of the channel (add dates of name change).

Contentoptional
Webcastwebcast

Official webcast link. If it is a pay service, list as an online service.

Contentoptional
Websitewebsite web

Website, encased in {{URL|}}

Example
{{URL|example.com}}
Templatesuggested
Terrestrial service 1terr_serv_1

Name of the first terrestrial service provider. This template supports up to 10 terrestrial services.

Contentoptional
Terrestrial channel 1terr_chan_1

Channel number on the first terrestrial service provider.

Contentoptional
Online service 1online_serv_1

Name of the first online or streaming provider. This template supports up to 5 streaming services.

Contentoptional
Online channel 1online_chan_1

Channel on the first online service.

Contentoptional
Availability noteavailability_note

Note on availability information, e.g. "At time of closure" or "Not yet launched, based on currently available information" or similar.

Contentoptional
Terrestrial service 2terr_serv_2

no description

Contentoptional
Terrestrial channel 2terr_chan_2

no description

Contentoptional
Terrestrial service 3terr_serv_3

no description

Contentoptional
Terrestrial channel 3terr_chan_3

no description

Contentoptional
Terrestrial service 4terr_serv_4

no description

Contentoptional
Terrestrial channel 4terr_chan_4

no description

Contentoptional
Terrestrial service 5terr_serv_5

no description

Contentoptional
Terrestrial channel 5terr_chan_5

no description

Contentoptional
Terrestrial service 6terr_serv_6

no description

Contentoptional
Terrestrial channel 6terr_chan_6

no description

Contentoptional
Terrestrial service 7terr_serv_7

no description

Contentoptional
Terrestrial channel 7terr_chan_7

no description

Contentoptional
Terrestrial service 8terr_serv_8

no description

Contentoptional
Terrestrial channel 8terr_chan_8

no description

Contentoptional
Terrestrial service 9terr_serv_9

no description

Contentoptional
Terrestrial channel 9terr_chan_9

no description

Contentoptional
Terrestrial service 10terr_serv_10

no description

Contentoptional
Terrestrial channel 10terr_chan_10

no description

Contentoptional
Online service 2online_serv_2

no description

Contentoptional
Online channel 2online_chan_2

no description

Contentoptional
Online service 3online_serv_3

no description

Contentoptional
Online channel 3online_chan_3

no description

Contentoptional
Online service 4online_serv_4

no description

Contentoptional
Online channel 4online_chan_4

no description

Contentoptional
Online service 5online_serv_5

no description

Contentoptional
Online channel 5online_chan_5

no description

Contentoptional
Childchild

Set to yes if being embedded in another infobox.

Booleanoptional
Embed headerembed_header

Header to appear above another infobox being embedded.

Contentoptional
Embedembedded

For embedding other templates (see WP:IEmbed for more information).

Templateoptional

See also

Tracking category

Template:Film- and television-related infobox templates