Difference between revisions of "Template:Infobox television station/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sammi Brie
(add ACMA and ANATEL parameters to tdata)
imported>Sammi Brie
(other improve)
Line 104: Line 104:
 
"label": "Branding",
 
"label": "Branding",
 
"description": "Branding",
 
"description": "Branding",
"type": "string",
+
"type": "content",
 
"aliases": [
 
"aliases": [
 
"station_branding"
 
"station_branding"
Line 112: Line 112:
 
"label": "Slogan",
 
"label": "Slogan",
 
"description": "Slogan of television station",
 
"description": "Slogan of television station",
"type": "string",
+
"type": "content",
 
"aliases": [
 
"aliases": [
 
"station_slogan"
 
"station_slogan"
Line 120: Line 120:
 
"label": "Translators",
 
"label": "Translators",
 
"description": "Translator(s)",
 
"description": "Translator(s)",
"type": "string",
+
"type": "content",
 
"aliases": [
 
"aliases": [
 
"translators", "other_chs"
 
"translators", "other_chs"
Line 128: Line 128:
 
"label": "Repeaters",
 
"label": "Repeaters",
 
"description": "Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances.",
 
"description": "Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances.",
"type": "string",
+
"type": "content",
 
"aliases": [
 
"aliases": [
 
"repeaters"
 
"repeaters"
Line 136: Line 136:
 
"label": "First air date",
 
"label": "First air date",
 
"description": "First date of broadcast, using {{Start date|YYYY|MM|DD}}",
 
"description": "First date of broadcast, using {{Start date|YYYY|MM|DD}}",
"type": "string",
+
"type": "content",
 
"suggested": true
 
"suggested": true
 
},
 
},
Line 163: Line 163:
 
"label": "Class",
 
"label": "Class",
 
"description": "Class",
 
"description": "Class",
"type": "string"
+
"type": "content"
 
},
 
},
 
"facility_id": {
 
"facility_id": {
 
"label": "Facility ID",
 
"label": "Facility ID",
 
"description": "Facility ID assigned by the US Federal Communications Commission (for US stations)",
 
"description": "Facility ID assigned by the US Federal Communications Commission (for US stations)",
"type": "string"
+
"type": "number"
 
},
 
},
 
"coordinates": {
 
"coordinates": {
Line 174: Line 174:
 
"description": "Transmitter coordinates, using {{coord|}}",
 
"description": "Transmitter coordinates, using {{coord|}}",
 
"suggested": true,
 
"suggested": true,
"type": "string"
+
"type": "content"
 
},
 
},
 
"callsign_meaning": {
 
"callsign_meaning": {
 
"label": "Call sign meaning",
 
"label": "Call sign meaning",
 
"description": "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.",
 
"description": "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.",
"type": "string"
+
"type": "content"
 
},
 
},
 
"former_callsigns": {
 
"former_callsigns": {
 
"label": "Former call signs",
 
"label": "Former call signs",
 
"description": "Former call signs",
 
"description": "Former call signs",
"type": "string"
+
"type": "content"
 
},
 
},
 
"former_names": {
 
"former_names": {
 
"label": "Former names",
 
"label": "Former names",
 
"description": "Former names of television station. Don't use if former_callsigns is being used as well.",
 
"description": "Former names of television station. Don't use if former_callsigns is being used as well.",
"type": "string"
+
"type": "content"
 
},
 
},
 
"network": {
 
"network": {
 
"label": "Network",
 
"label": "Network",
 
"description": "Network to which station belongs. In the United States, use \"affiliations\" instead.",
 
"description": "Network to which station belongs. In the United States, use \"affiliations\" instead.",
"type": "string"
+
"type": "content"
 
},
 
},
 
"affiliations": {
 
"affiliations": {
 
"label": "Affiliations",
 
"label": "Affiliations",
 
"description": "Affiliations of television station",
 
"description": "Affiliations of television station",
"type": "string"
+
"type": "content"
 
},
 
},
 
"operator": {
 
"operator": {
 
"label": "Operator",
 
"label": "Operator",
 
"description": "Operator of television station",
 
"description": "Operator of television station",
"type": "string"
+
"type": "content"
 
},
 
},
 
"owner": {
 
"owner": {
 
"label": "Owner",
 
"label": "Owner",
 
"description": "Owner of television station",
 
"description": "Owner of television station",
"type": "string",
+
"type": "content",
 
"suggested": true
 
"suggested": true
 
},
 
},
Line 215: Line 215:
 
"label": "Licensee",
 
"label": "Licensee",
 
"description": "Licensee of television station",
 
"description": "Licensee of television station",
"type": "string"
+
"type": "content"
 
},
 
},
 
"sister_stations": {
 
"sister_stations": {
 
"label": "Sister_stations",
 
"label": "Sister_stations",
 
"description": "Sister stations",
 
"description": "Sister stations",
"type": "string"
+
"type": "content"
 
},
 
},
 
"website": {
 
"website": {
Line 234: Line 234:
 
"label": "Country",
 
"label": "Country",
 
"description": "Country of television station",
 
"description": "Country of television station",
"type": "string"
+
"type": "content"
 
},
 
},
 
"above": {
 
"above": {
 
"label": "Top label",
 
"label": "Top label",
"description": "Label field used if the station is a satellite or repeater of another station."
+
"description": "Label field used if the station is a satellite or repeater of another station.",
 +
"type": "content"
 
},
 
},
 
"logo": {
 
"logo": {
Line 274: Line 275:
 
"subchannels": {
 
"subchannels": {
 
"label": "Subchannels",
 
"label": "Subchannels",
"description": "Digital subchannels of the television station"
+
"description": "Digital subchannels of the television station",
 +
"type": "content"
 
},
 
},
 
"founded": {
 
"founded": {
 
"label": "Founded",
 
"label": "Founded",
 
"description": "Date/year in which a station was founded, such as a predecessor to the current station, but not its sign-on date.",
 
"description": "Date/year in which a station was founded, such as a predecessor to the current station, but not its sign-on date.",
"type": "string"
+
"type": "content"
 
},
 
},
 
"last_airdate": {
 
"last_airdate": {
 
"label": "Last air date",
 
"label": "Last air date",
 
"description": "Last date of broadcast (for defunct stations), using {{End date|YYYY|MM|DD}}",
 
"description": "Last date of broadcast (for defunct stations), using {{End date|YYYY|MM|DD}}",
"type": "string",
+
"type": "content",
 
"aliases": [
 
"aliases": [
 
"enddate"
 
"enddate"
Line 293: Line 295:
 
"description": "Relevant licensing agency for the station. In the United States, using [[Federal Communications Commission|FCC]] triggers additional profile and license information links.",
 
"description": "Relevant licensing agency for the station. In the United States, using [[Federal Communications Commission|FCC]] triggers additional profile and license information links.",
 
"example": "[[Federal Communications Commission|FCC]]",
 
"example": "[[Federal Communications Commission|FCC]]",
"type": "string"
+
"type": "content"
 
},
 
},
 
"language": {
 
"language": {
Line 305: Line 307:
 
"label": "Location",
 
"label": "Location",
 
"description": "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. ",
 
"description": "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. ",
"type": "string"
+
"type": "content"
 
},
 
},
"call_letters": {
+
"callsign": {
 
"aliases": [
 
"aliases": [
"callsign"
+
"call_letters"
 
],
 
],
 
"label": "Call letters",
 
"label": "Call letters",
Line 319: Line 321:
 
"label": "Analog channel",
 
"label": "Analog channel",
 
"description": "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. ",
 
"description": "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. ",
"type": "string"
+
"type": "content"
 
},
 
},
 
"digital": {
 
"digital": {
 
"label": "Digital channel",
 
"label": "Digital channel",
 
"description": "Indicate the channel number of the station's primary digital transmitter, if applicable, and whether it is in the VHF or UHF spectrum. ",
 
"description": "Indicate the channel number of the station's primary digital transmitter, if applicable, and whether it is in the VHF or UHF spectrum. ",
"type": "string"
+
"type": "content"
 
},
 
},
 
"virtual": {
 
"virtual": {
 
"label": "Virtual channel",
 
"label": "Virtual channel",
 
"description": "Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number.",
 
"description": "Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number.",
"type": "string"
+
"type": "content"
 
},
 
},
 
"former_channel_numbers": {
 
"former_channel_numbers": {
 
"label": "Former channel numbers",
 
"label": "Former channel numbers",
"description": "Former channel numbers of television station"
+
"description": "Former channel numbers of television station",
 +
"type": "content"
 
},
 
},
 
"former_affiliations": {
 
"former_affiliations": {
 
"label": "Former affiliations",
 
"label": "Former affiliations",
 
"description": "Former affiliations of television station",
 
"description": "Former affiliations of television station",
"type": "string"
+
"type": "content"
 
},
 
},
 
"acma_bsl": {
 
"acma_bsl": {
Line 356: Line 359:
 
"paramOrder": [
 
"paramOrder": [
 
"name",
 
"name",
"call_letters",
+
"callsign",
 
"above",
 
"above",
 
"logo",
 
"logo",

Revision as of 07:14, 18 August 2020

Template:Subpage other

{{Infobox television station}} (formerly Infobox broadcast) is an infobox for television station articles.

Usage

Template:Parameter names example

{{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               =
| slogan                 =
| 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                = 
}}

Parameters

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.

Sub-templates

Where possible, use:

as above.

Microformat

Template:UF-hcard-geo

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox television station

Infobox for broadcast television stations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of television station, often the call sign

Linesuggested
Call letterscallsign call_letters

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 |call_letters= to display external links to public licensing information for this station, so do not insert extra text into this parameter value.

Stringsuggested
Top labelabove

Label field used if the station is a satellite or repeater of another station.

Contentoptional
Logologo station_logo

Logo of television station

Fileoptional
Logo sizelogo_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).

Unknownoptional
Logo alternative textlogo_alt

Alternative text for logo

Unknownoptional
Logo captionlogo_caption

Caption to appear under the television station logo.

Unknownoptional
Imageimage

Second image

Fileoptional
Image sizeimage_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).

Unknownoptional
Image alternative textimage_alt

Alternative text for the image

Unknownoptional
Captioncaption

Caption to appear under an image or under both a logo and an image.

Unknownoptional
Locationlocation

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.

Contentoptional
Countrycountry

Country of television station

Contentoptional
Citycity

Name of city of license

Pagesuggested
Analog channelanalog

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.

Contentoptional
Digital channeldigital

Indicate the channel number of the station's primary digital transmitter, if applicable, and whether it is in the VHF or UHF spectrum.

Contentoptional
Virtual channelvirtual

Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number.

Contentoptional
Brandingbranding station_branding

Branding

Contentoptional
Sloganslogan station_slogan

Slogan of television station

Contentoptional
Language(s)language languages

Language(s) in which the station broadcasts

Unknownoptional
Subchannelssubchannels

Digital subchannels of the television station

Contentoptional
Networknetwork

Network to which station belongs. In the United States, use "affiliations" instead.

Contentoptional
Affiliationsaffiliations

Affiliations of television station

Contentoptional
Ownerowner

Owner of television station

Contentsuggested
Licenseelicensee

Licensee of television station

Contentoptional
Operatoroperator

Operator of television station

Contentoptional
Sister_stationssister_stations

Sister stations

Contentoptional
Foundedfounded

Date/year in which a station was founded, such as a predecessor to the current station, but not its sign-on date.

Contentoptional
First air dateairdate

First date of broadcast, using {{Start date|YYYY|MM|DD}}

Contentsuggested
Last air datelast_airdate enddate

Last date of broadcast (for defunct stations), using {{End date|YYYY|MM|DD}}

Contentoptional
Former call signsformer_callsigns

Former call signs

Contentoptional
Former namesformer_names

Former names of television station. Don't use if former_callsigns is being used as well.

Contentoptional
Former channel numbersformer_channel_numbers

Former channel numbers of television station

Contentoptional
Former affiliationsformer_affiliations

Former affiliations of television station

Contentoptional
Call sign meaningcallsign_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.

Contentoptional
Licensing authoritylicensing_authority

Relevant licensing agency for the station. In the United States, using [[Federal Communications Commission|FCC]] triggers additional profile and license information links.

Example
[[Federal Communications Commission|FCC]]
Contentoptional
Facility IDfacility_id

Facility ID assigned by the US Federal Communications Commission (for US stations)

Numberoptional
ACMA Broadcast Service Licence numberacma_bsl

(For Australian stations) The Broadcast Service Licence number associated with the station by the [[Australian Communications and Media Authority]]

Example
100
Numberoptional
ANATEL ID numberanatel_id

(For Brazilian stations) The hexadecimal ID associated with the station by the [[National Telecommunications Agency (Brazil)|]]. It is found as the last column in the [http://sistemas.anatel.gov.br/se/public/view/b/srd.php ANATEL station search tool].

Example
57dbab8f308ab
Stringoptional
Classclass

Class

Contentoptional
Powerpower

Transmitter power output, in watts. Do not use except in the Philippines.

Stringoptional
ERPerp effective_radiated_power

Effective radiated power, in watts

Stringoptional
HAAThaat HAAT

Height above average terrain, in meters

Stringoptional
Coordinatescoordinates

Transmitter coordinates, using {{coord|}}

Contentsuggested
Translatorstranslator translators other_chs

Translator(s)

Contentoptional
Repeatersrepeater repeaters

Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances.

Contentoptional
Websitewebsite homepage

URL for television station, encased in {{URL|}}

Default
{{URL|}}
Stringoptional

Tracking category