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

From blackwiki
Jump to navigation Jump to search
imported>New World Man
imported>Shkuru Afshar
 
(158 intermediate revisions by 79 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{Documentation subpage}}
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
===Usage===
+
{{High-use}}
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
+
{{Auto short description}}
<pre>{{Infobox Radio station
+
{{Lua|Module:InfoboxImage|Module:Check for unknown parameters|Module:Type in location}}
| name            =
 
| image            =
 
| city            =
 
| area            =
 
| branding        =
 
| slogan          =
 
| airdate          =
 
| frequency        =
 
| format          =
 
| power            =
 
| erp              =
 
| haat            =
 
| class            =
 
| facility_id      =
 
| coordinates      =
 
| callsign_meaning =
 
| former_callsigns =
 
| owner            =
 
| licensee        =
 
| sister_stations  =
 
| webcast          =
 
| website          =
 
| affiliations    =
 
}}</pre>
 
</div>
 
  
The fields ''image'', ''city'', ''area'', ''branding'', ''slogan'', ''airdate'', ''frequency'', ''power'', ''erp'', ''haat'', ''class'', ''facility_id'', ''coordinates'', ''callsign_meaning'', ''licensee'' (if applicable), ''sister_stations'', ''webcast'', ''website'', and ''affiliations'' are optional. They will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear.
+
== Usage ==
<includeonly>
+
{{Parameter names example | _template=Infobox radio station | above | name | callsign | logo | logo_size | logo_alt | logo_caption | image | image_size | image_alt | caption | city | area | frequency | rds | branding | slogan | language | languages | format | subchannels | network | affiliations | owner | licensee | operator | sister_stations | founded | airdate | last_airdate | former_callsigns | former_names | former_frequencies | callsign_meaning | facility_id | class | power | erp | haat | coordinates | translator | translators | repeater | repeaters | licensing_authority | webcast | website}}
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<pre style="overflow: auto;">
[[Category:Infobox templates|Radio station]]
+
<nowiki>{{Infobox radio station
[[Category:Radio infobox templates|{{PAGENAME}}]]
+
| name                =
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
| city                =
 +
| above              =
 +
| callsign            =
 +
| logo                =
 +
| logo_size          =
 +
| logo_alt            =
 +
| logo_caption        =
 +
| image_alt          =
 +
| caption            =
 +
| area                =
 +
| frequency          =
 +
| rds                =
 +
| branding            =
 +
| slogan              =
 +
| languages          =
 +
| format              =
 +
| subchannels        =
 +
| network            =
 +
| affiliations        =
 +
| owner              =
 +
| licensee            =
 +
| operator            =
 +
| sister_stations    =
 +
| founded            =
 +
| airdate            =
 +
| last_airdate        =
 +
| former_callsigns    =
 +
| former_names        =
 +
| former_frequencies  =
 +
| callsign_meaning    = <!--do not apply special formatting-->
 +
| licensing_authority =
 +
| facility_id        =
 +
| class              =
 +
| power              =
 +
| erp                =
 +
| haat                =
 +
| coordinates        =
 +
| translators        =
 +
| repeaters          =
 +
| webcast            =
 +
| website            =
 +
| child              =
 +
| embed_header        =
 +
| embedded            =
 +
}}</nowiki></pre>
  
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
== Parameters ==
[[es:Plantilla:Infobox Estación de Radio]]
+
All fields except for <code>name</code>, <code>format</code>, and <code>owner</code> are optional and will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear.
[[fr:Modèle:Infobox Radio]]
+
 
</includeonly>
+
The parameters <code>translator</code> and <code>repeater</code> should not both be used, except in unusual circumstances.
 +
 
 +
==Country-specific licensing parameters==
 +
This template displays links to license information for select countries when certain parameters are supplied.
 +
 
 +
===Australia===
 +
Set <code>licensing_authority</code> to <code><nowiki>[[Australian Communications and Media Authority|ACMA]]</nowiki></code> and enter the Broadcast Service Licence (BSL) number in the field <code>acma_bsl</code>.
 +
 
 +
===Brazil===
 +
Set <code>licensing_authority</code> to <code><nowiki>[[National Telecommunications Agency (Brazil)|ANATEL]]</nowiki></code> and enter the hexadecimal Channel ID in the field <code>anatel_id</code>. This is the field labeled "ID do Canal" in the last column of the [http://sistemas.anatel.gov.br/se/public/view/b/srd.php ANATEL station search tool].
 +
 
 +
===United States===
 +
Set <code>licensing_authority</code> to <code><nowiki>[[Federal Communications Commission|FCC]]</nowiki></code> and enter the numeric Facility ID in the field <code>facility_id</code>. The template will determine if the station is AM or FM by if the <code>power</code> (AM) or <code>erp</code> (FM) parameter is filled.
 +
 
 +
== Sub-templates ==
 +
Where possible, use:
 +
 
 +
* {{Tl|Frequency}}
 +
* {{Tl|Start date}}
 +
* {{Tl|End date}}
 +
* {{Tl|Coord}}
 +
* {{Tl|URL}}
 +
 
 +
as above.
 +
 
 +
If the radio station streams, consider using:
 +
 
 +
* {{Tl|TuneIn}}
 +
* {{Tl|IHeartRadio}}
 +
* {{Tl|Radio.com}}
 +
 
 +
If the radio station broadcasts digitally using the [[HD Radio]] digital radio standard, include {{Tl|HD Radio}} as part of the frequency parameter.
 +
 
 +
== Microformat ==
 +
{{UF-hcard-geo}}
 +
 
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "Infobox for radio stations",
 +
"params": {
 +
"name": {
 +
"label": "Name",
 +
"description": "Name of radio station, often the call sign",
 +
"type": "line",
 +
"suggested": true
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "Second image",
 +
"type": "wiki-file-name"
 +
},
 +
"city": {
 +
"label": "City",
 +
"description": "Name of city of license",
 +
"type": "wiki-page-name",
 +
"suggested": true
 +
},
 +
"area": {
 +
"label": "Area",
 +
"description": "Name of broadcast area",
 +
"type": "content"
 +
},
 +
"branding": {
 +
"label": "Branding",
 +
"description": "Branding",
 +
"type": "content"
 +
},
 +
"slogan": {
 +
"label": "Slogan",
 +
"description": "Slogan of radio station",
 +
"type": "content"
 +
},
 +
"frequency": {
 +
"label": "Frequency",
 +
"description": "Frequency in Hertz, using {{Frequency|NNN|XHz}}; additionally include {{HD Radio}} when the station broadcasts using that digital radio standard",
 +
"type": "line",
 +
"example": "{{Frequency|1010|kHz}} or {{Frequency|91.7|MHz}} {{HD Radio}}",
 +
"suggested": true
 +
},
 +
"rds": {
 +
"label": "Radio Data System",
 +
"description": "[[Radio Data System]] programme service name",
 +
"type": "line"
 +
},
 +
"translator": {
 +
"label": "Translators",
 +
"description": "Translator(s)",
 +
"type": "content",
 +
"aliases": [
 +
"translators"
 +
]
 +
},
 +
"repeater": {
 +
"label": "Repeaters",
 +
"description": "Repeater(s)",
 +
"type": "content",
 +
"aliases": [
 +
"repeaters"
 +
]
 +
},
 +
"airdate": {
 +
"label": "First air date",
 +
"description": "First date of broadcast, using {{Start date|YYYY|MM|DD}}",
 +
"type": "content",
 +
"example": "{{Start date|1999|01|20}}",
 +
"suggested": true
 +
},
 +
"format": {
 +
"label": "Format",
 +
"description": "Programming format",
 +
"type": "content",
 +
"suggested": true
 +
},
 +
"power": {
 +
"label": "Power",
 +
"description": "Power rating for AM stations, in watts",
 +
"type": "content"
 +
},
 +
"erp": {
 +
"label": "ERP",
 +
"description": "Effective radiated power for FM stations, in watts",
 +
"type": "content"
 +
},
 +
"haat": {
 +
"label": "HAAT",
 +
"description": "Height above average terrain, in meters",
 +
"type": "content"
 +
},
 +
"class": {
 +
"label": "Class",
 +
"description": "Class",
 +
"type": "string"
 +
},
 +
"facility_id": {
 +
"label": "Facility ID",
 +
"description": "(For US stations) Facility ID number assigned by the US [[Federal Communications Commission]].",
 +
"type": "number"
 +
},
 +
"coordinates": {
 +
"label": "Coordinates",
 +
"description": "Transmitter coordinates, using {{coord|}}",
 +
"suggested": true,
 +
"type": "string"
 +
},
 +
"callsign_meaning": {
 +
"label": "Call sign meaning",
 +
"description": "Call sign meaning.  Do not apply special formatting to the expanded acronym, per [[MOS:ACRO]] and [[Talk:WNGH-TV#RfC about TV and radio station style variances]].",
 +
"type": "content"
 +
},
 +
"former_callsigns": {
 +
"label": "Former call signs",
 +
"description": "Former call signs",
 +
"type": "content"
 +
},
 +
"former_frequencies": {
 +
"label": "Former frequencies",
 +
"description": "Former frequencies",
 +
"type": "content"
 +
},
 +
"former_names": {
 +
"label": "Former names",
 +
"description": "Former names of radio station. Don't use if former_callsigns is being used as well.",
 +
"type": "content"
 +
},
 +
"network": {
 +
"label": "Network",
 +
"description": "Network to which station belongs",
 +
"type": "content"
 +
},
 +
"affiliations": {
 +
"label": "Affiliations",
 +
"description": "Affiliations of radio station",
 +
"type": "content"
 +
},
 +
"operator": {
 +
"label": "Operator",
 +
"description": "Operator of radio station",
 +
"type": "content"
 +
},
 +
"owner": {
 +
"label": "Owner",
 +
"description": "Owner of radio station",
 +
"type": "content",
 +
"suggested": true
 +
},
 +
"licensee": {
 +
"label": "Licensee",
 +
"description": "Licensee of radio station",
 +
"type": "content"
 +
},
 +
"sister_stations": {
 +
"label": "Sister stations",
 +
"description": "Sister stations",
 +
"type": "content"
 +
},
 +
"webcast": {
 +
"label": "Webcast",
 +
"description": "Live streaming URL of radio station, using [URL Listen Live]",
 +
"type": "string"
 +
},
 +
"website": {
 +
"label": "Website",
 +
"type": "string",
 +
"description": "URL for radio station, encased in {{URL|}}",
 +
"default": "{{URL|}}"
 +
},
 +
"above": {
 +
"label": "Top label",
 +
"description": "Label field used if the station is a satellite or repeater of another station."
 +
},
 +
"callsign": {
 +
"label": "Call sign (secondary)",
 +
"description": "Call sign of a station. Use only in countries where call signs exist but are secondary, such as Argentina and Australia.",
 +
"example": "4TSV"
 +
},
 +
"logo": {
 +
"label": "Logo",
 +
"description": "Logo of radio station"
 +
},
 +
"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"
 +
},
 +
"logo_caption": {
 +
"label": "Logo caption",
 +
"description": "Caption to appear under the radio 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": {
 +
"aliases": [
 +
"alt"
 +
],
 +
"label": "Image alternative text",
 +
"description": "Alternative text for the image"
 +
},
 +
"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 radio station; HD Radio subchannels should be listed in order by channel number followed by program/station name and the format in parentheses. HD1 simulcasts of the main analog program channel need not be listed.",
 +
                        "type": "content",
 +
                        "example": "HD2: Bluegrass Country (Bluegrass/Americana)"
 +
},
 +
"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 {{End date|YYYY|MM|DD}}",
 +
"example": "{{End date|2014|12|31}}",
 +
"type": "content"
 +
},
 +
"licensing_authority": {
 +
"label": "Licensing authority",
 +
"description": "Relevant licensing agency for the station. In some countries, the correct link and additional parameters trigger additional links to license information: see [[Template:Infobox radio station/doc#Country-specific licensing parameters]].",
 +
"example": "[[Federal Communications Commission|FCC]]",
 +
"type": "string"
 +
},
 +
"language": {
 +
"aliases": [
 +
"languages"
 +
],
 +
"label": "Language(s)",
 +
"description": "Language(s) in which the station broadcasts"
 +
},
 +
"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]]. It can be found using the ACMA Register of Radiocommunications Licences: https://web.acma.gov.au/rrl/register_search.search_dispatcher.",
 +
"example": "6446",
 +
"type": "number"
 +
},
 +
"anatel_id": {
 +
"label": "ANATEL ID number",
 +
"description": "(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 ANATEL station search tool: http://sistemas.anatel.gov.br/se/public/view/b/srd.php.",
 +
"example": "57dbac7a0791c",
 +
"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"
 +
}
 +
},
 +
"format": "block",
 +
"paramOrder": [
 +
"name",
 +
"callsign",
 +
"above",
 +
"logo",
 +
"logo_size",
 +
"logo_alt",
 +
"logo_caption",
 +
"image",
 +
"image_size",
 +
"image_alt",
 +
"caption",
 +
"city",
 +
"area",
 +
"frequency",
 +
"rds",
 +
"branding",
 +
"slogan",
 +
"language",
 +
"format",
 +
"subchannels",
 +
"network",
 +
"affiliations",
 +
"owner",
 +
"licensee",
 +
"operator",
 +
"sister_stations",
 +
"founded",
 +
"airdate",
 +
"last_airdate",
 +
"former_callsigns",
 +
"former_names",
 +
"former_frequencies",
 +
"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 ==
 +
* {{Category link with count|Pages using infobox radio station with unknown parameters}}
 +
 
 +
==See also==
 +
{{Film- and television-related infobox templates}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Radio infobox templates|Station]]
 +
[[Category:Embeddable templates]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 08:45, 19 January 2021

Template:Subpage other

Usage

Template:Parameter names example

{{Infobox radio station
| name                = 
| city                = 
| above               = 
| callsign            = 
| logo                = 
| logo_size           = 
| logo_alt            = 
| logo_caption        = 
| image_alt           = 
| caption             = 
| area                = 
| frequency           = 
| rds                 = 
| branding            = 
| slogan              = 
| languages           = 
| format              = 
| subchannels         = 
| network             = 
| affiliations        = 
| owner               = 
| licensee            = 
| operator            = 
| sister_stations     = 
| founded             = 
| airdate             = 
| last_airdate        = 
| former_callsigns    = 
| former_names        = 
| former_frequencies  = 
| callsign_meaning    = <!--do not apply special formatting-->
| licensing_authority = 
| facility_id         = 
| class               = 
| power               = 
| erp                 = 
| haat                = 
| coordinates         = 
| translators         = 
| repeaters           = 
| webcast             = 
| website             = 
| child               = 
| embed_header        = 
| embedded            = 
}}

Parameters

All fields except for name, format, and owner are optional and will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear.

The parameters translator and repeater should not both be used, except in unusual circumstances.

Country-specific licensing parameters

This template displays links to license information for select countries when certain parameters are supplied.

Australia

Set licensing_authority to [[Australian Communications and Media Authority|ACMA]] and enter the Broadcast Service Licence (BSL) number in the field acma_bsl.

Brazil

Set licensing_authority to [[National Telecommunications Agency (Brazil)|ANATEL]] and enter the hexadecimal Channel ID in the field anatel_id. This is the field labeled "ID do Canal" in the last column of the ANATEL station search tool.

United States

Set licensing_authority to [[Federal Communications Commission|FCC]] and enter the numeric Facility ID in the field facility_id. The template will determine if the station is AM or FM by if the power (AM) or erp (FM) parameter is filled.

Sub-templates

Where possible, use:

as above.

If the radio station streams, consider using:

If the radio station broadcasts digitally using the HD Radio digital radio standard, include {{HD Radio}} as part of the frequency parameter.

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 radio station

Infobox for radio stations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of radio station, often the call sign

Linesuggested
Call sign (secondary)callsign

Call sign of a station. Use only in countries where call signs exist but are secondary, such as Argentina and Australia.

Example
4TSV
Unknownoptional
Top labelabove

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

Unknownoptional
Logologo

Logo of radio station

Unknownoptional
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 radio 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 alt

Alternative text for the image

Unknownoptional
Captioncaption

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

Unknownoptional
Citycity

Name of city of license

Pagesuggested
Areaarea

Name of broadcast area

Contentoptional
Frequencyfrequency

Frequency in Hertz, using {{Frequency|NNN|XHz}}; additionally include {{HD Radio}} when the station broadcasts using that digital radio standard

Example
{{Frequency|1010|kHz}} or {{Frequency|91.7|MHz}} {{HD Radio}}
Linesuggested
Radio Data Systemrds

[[Radio Data System]] programme service name

Lineoptional
Brandingbranding

Branding

Contentoptional
Sloganslogan

Slogan of radio station

Contentoptional
Language(s)language languages

Language(s) in which the station broadcasts

Unknownoptional
Formatformat

Programming format

Contentsuggested
Subchannelssubchannels

Digital subchannels of the radio station; HD Radio subchannels should be listed in order by channel number followed by program/station name and the format in parentheses. HD1 simulcasts of the main analog program channel need not be listed.

Example
HD2: Bluegrass Country (Bluegrass/Americana)
Contentoptional
Networknetwork

Network to which station belongs

Contentoptional
Affiliationsaffiliations

Affiliations of radio station

Contentoptional
Ownerowner

Owner of radio station

Contentsuggested
Licenseelicensee

Licensee of radio station

Contentoptional
Operatoroperator

Operator of radio 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}}

Example
{{Start date|1999|01|20}}
Contentsuggested
Last air datelast_airdate

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

Example
{{End date|2014|12|31}}
Contentoptional
Former call signsformer_callsigns

Former call signs

Contentoptional
Former namesformer_names

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

Contentoptional
Former frequenciesformer_frequencies

Former frequencies

Contentoptional
Call sign meaningcallsign_meaning

Call sign meaning. Do not apply special formatting to the expanded acronym, per [[MOS:ACRO]] and [[Talk:WNGH-TV#RfC about TV and radio station style variances]].

Contentoptional
Licensing authoritylicensing_authority

Relevant licensing agency for the station. In some countries, the correct link and additional parameters trigger additional links to license information: see [[Template:Infobox radio station/doc#Country-specific licensing parameters]].

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

(For US stations) Facility ID number assigned by the US [[Federal Communications Commission]].

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]]. It can be found using the ACMA Register of Radiocommunications Licences: https://web.acma.gov.au/rrl/register_search.search_dispatcher.

Example
6446
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 ANATEL station search tool: http://sistemas.anatel.gov.br/se/public/view/b/srd.php.

Example
57dbac7a0791c
Stringoptional
Classclass

Class

Stringoptional
Powerpower

Power rating for AM stations, in watts

Contentoptional
ERPerp

Effective radiated power for FM stations, in watts

Contentoptional
HAAThaat

Height above average terrain, in meters

Contentoptional
Coordinatescoordinates

Transmitter coordinates, using {{coord|}}

Stringsuggested
Translatorstranslator translators

Translator(s)

Contentoptional
Repeatersrepeater repeaters

Repeater(s)

Contentoptional
Webcastwebcast

Live streaming URL of radio station, using [URL Listen Live]

Stringoptional
Websitewebsite

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

Default
{{URL|}}
Stringoptional
Childchild

Set to yes if being embedded in another infobox.

Booleanoptional
Embed headerembed_header

Header to appear above another infobox being embedded.

Lineoptional
Embedembedded

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

Templateoptional

Tracking category

See also