Template:Infobox television station/doc

From Pantonian Republic Wiki
< Template:Infobox television station
Revision as of 18:50, 21 May 2023 by wikipedia>Gonnym
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

{{{name}}} ({{{callsign}}})
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{caption}}}
  • {{{location}}}
  • {{{country}}}
City{{{city}}}
Channels
Branding{{{branding}}}
Programming
Language(s){{{language}}}
Subchannels{{{subchannels}}}
Network{{{network}}}
Affiliations{{{affiliations}}}
Ownership
Owner
  • {{{owner}}}
  • ({{{licensee}}})
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
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

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.

{{#section:Template:Infobox Australian place/doc|image_upright}}

Sub-templates

Where possible, use:

as above.

For lists, use {{unbulleted list}} ({{ubl}}) instead of line breaks for accessibility reasons.

Microformat

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

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

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

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Infobox television station

<templatedata> { "description": "Infobox for broadcast television stations", "params": { "name": { "label": "Name", "description": "Name of television station, often the call sign", "type": "line", "suggested": true }, "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. ", "type": "content", "suggested": true }, "callsign": { "label": "Call sign", "description": "The call letters of the station, as assigned by the appropriate national broadcast authority. Note: If the licensing authority is the 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. ", "type": "string" }, "atsc3": { "label": "ATSC 3.0 flag", "description": "Displays \"ATSC 3.0 station\" on the top of infoboxes for stations broadcasting in this standard", "type": "boolean" }, "analog": { "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. ", "type": "content" }, "digital": { "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. ", "type": "content" }, "virtual": { "label": "Virtual channel", "description": "Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number.", "type": "content" }, "image": { "label": "Image", "description": "Second image", "type": "wiki-file-name" }, "city": { "label": "City", "description": "Name of city of license. Use only if notably different from the general location.", "type": "wiki-page-name" }, "branding": { "label": "Branding", "description": "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.", "type": "content", "aliases": [ "station_branding" ], "example": "KOMO 4" }, "translator": { "label": "Translators", "description": "Translator(s)", "type": "content", "aliases": [ "translators", "other_chs" ] }, "repeater": { "label": "Repeaters", "description": "Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances.", "type": "content", "aliases": [ "repeaters" ] }, "airdate": { "label": "First air date", "description": "First date of broadcast, using  Expression error: Unrecognised word "dd"., YYYY (YYYY-MM-DD)", "type": "content", "suggested": true }, "power": { "label": "Power", "description": "Transmitter power output, in watts. Do not use except in the Philippines.", "type": "string" }, "erp": { "label": "ERP", "description": "Effective radiated power, in watts", "type": "string", "aliases": [ "effective_radiated_power" ] }, "haat": { "label": "HAAT", "description": "Height above average terrain, in meters", "type": "string", "aliases": [ "HAAT" ] }, "class": { "label": "Class", "description": "Class", "type": "content" }, "facility_id": { "label": "Facility ID", "description": "Facility ID assigned by the US Federal Communications Commission (for US stations)", "type": "number" }, "coordinates": { "label": "Coordinates", "description": "Transmitter coordinates, using Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).", "suggested": true, "type": "content" }, "callsign_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.", "type": "content" }, "former_callsigns": { "label": "Former call signs", "description": "Former call signs", "type": "content" }, "former_names": { "label": "Former names", "description": "Former names of television station. Don't use if former_callsigns is being used as well.", "type": "content" }, "network": { "label": "Network", "description": "Network to which station belongs. In the United States, Canada, Mexico, Japan, and Brazil, use \"affiliations\" instead.", "type": "content" }, "affiliations": { "label": "Affiliations", "description": "Affiliations of television station", "type": "content" }, "operator": { "label": "Operator", "description": "Operator of television station. Use only if different from owner.", "type": "content" }, "owner": { "label": "Owner", "description": "Owner of television station", "type": "content", "suggested": true }, "licensee": { "label": "Licensee", "description": "Licensee of television station", "type": "content" }, "sister_stations": { "label": "Sister_stations", "description": "Stations in the same region/market that share the same operator via ownership or management agreement", "type": "content" }, "webcast": { "label": "Webcast", "type": "string", "description": "URL to a live stream link for the station" }, "website": { "label": "Website", "type": "string", "description": "URL for television station, encased in {{URL|example.com|optional display text}}", "default": "{{URL|example.com|optional display text}}", "aliases": [ "homepage" ] }, "country": { "label": "Country", "description": "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).", "type": "content", "suggested": true }, "above": { "label": "Top label", "description": "Label field used if the station is a satellite or repeater of another station.", "type": "content" }, "logo": { "label": "Logo", "description": "Logo of television station", "type": "wiki-file-name", "aliases": [ "station_logo" ] }, "logo_size": { "label": "Logo size", "description": "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)." }, "logo_alt": { "label": "Logo alternative text", "description": "Alternative text for logo. This should be used for a description of the logo itself." }, "logo_caption": { "label": "Logo caption", "description": "Caption to appear under the television station logo." }, "image_size": { "label": "Image size", "description": "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)." }, "image_alt": { "label": "Image alternative text", "description": "Alternative text for the image. This should be used for a description of the image itself." }, "caption": { "label": "Caption", "description": "Caption to appear under an image or under both a logo and an image." }, "subchannels": { "label": "Subchannels", "description": "Digital subchannels of the television station", "type": "content" }, "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.", "type": "content" }, "last_airdate": { "label": "Last air date", "description": "Last date of broadcast (for defunct stations), using  Expression error: Unrecognised word "dd"., YYYY (YYYY-MM-DD)", "type": "content", "aliases": [ "enddate" ] }, "licensing_authority": { "label": "Licensing authority", "description": "Relevant licensing agency for the station. In the United States, using FCC triggers additional profile and license information links.", "example": "FCC", "type": "content" }, "language": { "aliases": [ "languages" ], "label": "Language(s)", "description": "Language(s) in which the station broadcasts" }, "former_channel_numbers": { "label": "Former channel numbers", "description": "Former channel numbers of television station", "type": "content" }, "former_affiliations": { "label": "Former affiliations", "description": "Former affiliations of television station", "type": "content" }, "acma_bsl": { "label": "ACMA Broadcast Service Licence number", "description": "(For Australian stations) The Broadcast Service Licence number associated with the station by the Australian Communications and Media Authority", "example": "100", "type": "number" }, "anatel_id": { "label": "ANATEL ID number", "description": "(For Brazilian stations) The hexadecimal ID associated with the station by the National Telecommunications Agency. It is found as the last column in the ANATEL station search tool.", "example": "57dbab8f308ab", "type": "string" }, "child": { "label": "Child", "description": "Set to yes if being embedded in another infobox.", "type": "boolean" }, "embed_header": { "label": "Embed header", "description": "Header to appear above another infobox being embedded.", "type": "line" }, "embedded": { "label": "Embed", "description": "For embedding other templates (see WP:IEmbed for more information).", "type": "wiki-template-name" }, "logo_upright": { "label": "Logo upright scaling factor", "description": "See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220", "type": "number" }, "image_upright": { "label": "Image upright scaling factor", "description": "See MOS:UPRIGHT. To convert from a fixed pixel size, divide it by 220", "type": "number" } }, "format": "block", "paramOrder": [ "name", "callsign", "atsc3", "above", "logo", "logo_size", "logo_upright", "logo_alt", "logo_caption", "image", "image_size", "image_upright", "image_alt", "caption", "location", "country", "city", "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", "acma_bsl", "anatel_id", "class", "power", "erp", "haat", "coordinates", "translator", "repeater", "webcast", "website", "child", "embed_header", "embedded" ] } </templatedata>

Tracking category

See also