Template:Infobox television station/sandbox
This is the template sandbox page for Template:Infobox television station (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses TemplateStyles: |
{{Infobox television station}} (formerly Infobox broadcast) is an infobox for television station articles.
Usage
[edit]{{{above}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|class=ib-tv-station-logo]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|class=ib-tv-station-logo]] | |
| |
City | {{{city}}} |
Channels | |
Branding | {{{branding}}} |
Programming | |
Language(s) | {{{language}}} |
Subchannels | {{{subchannels}}} |
Network | {{{network}}} |
Affiliations | {{{affiliations}}} |
Ownership | |
Owner |
|
Operator | {{{operator}}} |
{{{sister_stations}}} | |
History | |
Founded | {{{founded}}} |
First air date | {{{airdate}}} |
Last air date | {{{last_airdate}}} |
Former call signs | {{{former_callsigns}}} |
Former names | {{{former_names}}} |
Former channel number(s) | {{{former_channel_numbers}}} |
{{{former_affiliations}}} | |
Call sign meaning | {{{callsign_meaning}}} |
Technical information[1] | |
Licensing authority | {{{licensing_authority}}} |
Facility ID | {{{facility_id}}} |
Class | {{{class}}} |
Power | {{{power}}} |
ERP | {{{erp}}} |
HAAT | {{{haat}}} |
Transmitter coordinates | {{{coordinates}}} |
Translator(s) | {{{translator}}} |
Repeater(s) | {{{repeater}}} |
Links | |
Website | {{{website}}} |
{{Infobox television station
| location =
| city =
| country =
| above =
| callsign =
| name =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| image_alt =
| caption =
| analog =
| digital =
| virtual =
| branding =
| language =
| subchannels =
| network =
| affiliations =
| owner =
| licensee =
| operator =
| sister_stations =
| founded =
| airdate =
| last_airdate =
| former_callsigns =
| former_names =
| former_channel_numbers =
| former_affiliations =
| callsign_meaning =
| licensing_authority =
| facility_id =
| class =
| power =
| erp =
| haat =
| coordinates =
| translator =
| translators =
| repeater =
| repeaters =
| webcast =
| website =
| child =
| embed_header =
| embedded =
}}
Parameters
[edit]All fields except for name
, location
, and owner
are optional and will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear.
Calculating "image_upright"
[edit]The |image_upright=
parameter, and |image2_upright=
and |logo_upright=
where applicable, 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.
170px
→upright=0.75
180px
→upright=0.8
190px
→upright=0.85
200px
→upright=0.9
210px
→upright=0.95
220px
→upright=1
230px
→upright=1.05
240px
→upright=1.1
250px
→upright=1.15
260px
→upright=1.2
270px
→upright=1.23
280px
→upright=1.25
290px
→upright=1.3
300px
→upright=1.35
Sub-templates
[edit]Where possible, use:
- {{Start date}}
- {{End date}}
- {{Coord}}
- {{URL}}
as above.
For lists, use {{unbulleted list}} ({{ubl}}) instead of line breaks for accessibility reasons.
Microformat
[edit]The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[edit]If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[edit]hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
[edit]When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData
[edit]TemplateData for Infobox television station
Infobox for broadcast television stations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of television station, often the call sign | Line | suggested |
Call sign | callsign | The call letters of the station, as assigned by the appropriate national broadcast authority. Note: If the licensing authority is the [[Federal Communications Commission|FCC]], the template will use |callsign= to display external links to public licensing information for this station, so do not insert extra text into this parameter value. | String | optional |
ATSC 3.0 flag | atsc3 | Displays "ATSC 3.0 station" on the top of infoboxes for stations broadcasting in this standard | Boolean | optional |
Top label | above | Label field used if the station is a satellite or repeater of another station. | Content | optional |
Logo | logo station_logo | Logo of television station | File | optional |
Logo size | logo_size | A width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Logo upright scaling factor | logo_upright | See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220 | Number | optional |
Logo alternative text | logo_alt | Alternative text for logo. This should be used for a description of the logo itself. | Unknown | optional |
Logo caption | logo_caption | Caption to appear under the television station logo. | Unknown | optional |
Image | image | Second image | File | optional |
Image size | image_size | A width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Image upright scaling factor | image_upright | See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220 | Number | optional |
Image alternative text | image_alt | Alternative text for the image. This should be used for a description of the image itself. | Unknown | optional |
Caption | caption | Caption to appear under an image or under both a logo and an image. | Unknown | optional |
Location | location | The name of the municipality in which the station's programming originates. That is, the primary studio and office location. This is opposed to the transmitter location which may be in a different community, and also opposed to regional "satellite" studios or facilities. | Content | suggested |
Country | country | Country of television station. Also supports some two-letter codes including UK, US, etc. For a full list, see Template:Infobox radio station/doc#Country codes (this template uses the same list). | Content | suggested |
City | city | Name of city of license. Use only if notably different from the general location. | Page name | optional |
Analog channel | analog | Indicate the analog channel number of the station's primary analog transmitter, and whether it is in the VHF or UHF spectrum. Not applicable in areas or nations that have fully completed a digital switchover. | Content | optional |
Digital channel | digital | Indicate the channel number of the station's primary digital transmitter, if applicable, and whether it is in the VHF or UHF spectrum. | Content | optional |
Virtual channel | virtual | Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number. | Content | optional |
Branding | branding station_branding | The name by which the station refers to itself as. If the station produces its own newscast, the name of the newscast (excluding timeslots) should be placed under the general branding name. Do not differentiate between brand names.
| Content | optional |
Language(s) | language languages | Language(s) in which the station broadcasts | Unknown | optional |
Subchannels | subchannels | Digital subchannels of the television station | Content | optional |
Network | network | Network to which station belongs. In the United States, Canada, Mexico, Japan, and Brazil, use "affiliations" instead. | Content | optional |
Affiliations | affiliations | Affiliations of television station | Content | optional |
Owner | owner | Owner of television station | Content | suggested |
Licensee | licensee | Licensee of television station | Content | optional |
Operator | operator | Operator of television station. Use only if different from owner. | Content | optional |
Sister_stations | sister_stations | Stations in the same region/market that share the same operator via ownership or management agreement | Content | optional |
Founded | founded | Date/year in which a station was founded, such as a predecessor to the current station, but not its sign-on date. | Content | optional |
First air date | airdate | First date of broadcast, using {{Start date|YYYY|MM|DD}} | Content | suggested |
Last air date | last_airdate enddate | Last date of broadcast (for defunct stations), using {{End date|YYYY|MM|DD}} | Content | optional |
Former call signs | former_callsigns | Former call signs | Content | optional |
Former names | former_names | Former names of television station. Don't use if former_callsigns is being used as well. | Content | optional |
Former channel numbers | former_channel_numbers | Former channel numbers of television station | Content | optional |
Former affiliations | former_affiliations | Former affiliations of television station | Content | optional |
Call sign meaning | callsign_meaning | The meaning behind the callsign letters, if available and verifiable. Per MOS:ACRO, do not use bold or other style to emphasize the first letter of acronyms. Use sentence case. | Content | optional |
Licensing authority | licensing_authority | Relevant licensing agency for the station. In the United States, using [[Federal Communications Commission|FCC]] triggers additional profile and license information links.
| Content | optional |
Facility ID | facility_id | Facility ID assigned by the US Federal Communications Commission (for US stations) | Number | optional |
ACMA Broadcast Service Licence number | acma_bsl | (For Australian stations) The Broadcast Service Licence number associated with the station by the [[Australian Communications and Media Authority]]
| Number | optional |
ANATEL ID number | anatel_id | (For Brazilian stations) The hexadecimal ID associated with the station by the [[National Telecommunications Agency (Brazil)|National Telecommunications Agency]]. It is found as the last column in the [http://sistemas.anatel.gov.br/se/public/view/b/srd.php ANATEL station search tool].
| String | optional |
Class | class | Class | Content | optional |
Power | power | Transmitter power output, in watts. Do not use except in the Philippines. | String | optional |
ERP | erp effective_radiated_power | Effective radiated power, in watts | String | optional |
HAAT | haat HAAT | Height above average terrain, in meters | String | optional |
Coordinates | coordinates | Transmitter coordinates, using {{coord|}} | Content | suggested |
Translators | translator translators other_chs | Translator(s) | Content | optional |
Repeaters | repeater repeaters | Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances. | Content | optional |
Webcast | webcast | URL to a live stream link for the station | String | optional |
Website | website homepage | URL for television station, encased in {{URL|}}
| String | optional |
Child | child | Set to yes if being embedded in another infobox. | Boolean | optional |
Embed header | embed_header | Header to appear above another infobox being embedded. | Line | optional |
Embed | embedded | For embedding other templates (see WP:IEmbed for more information). | Template | optional |
Tracking category
[edit]See also
[edit]- ^ "Facility Technical Data for {{{callsign}}}". Licensing and Management System. Federal Communications Commission.