Difference between revisions of "Template:Infobox radio station"
(Added "modulation" entry) |
imported>Sammi Brie m (fix to avoid potential references to a location parameter) |
||
(90 intermediate revisions by 37 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#invoke:Type in location|main|Radio station|{{{city|}}}}}</includeonly><!-- |
− | {| | + | -->{{Infobox |
− | + | | child = {{{child|}}} | |
− | | | + | | bodyclass = vcard |
− | | | + | | headerstyle = background-color: #efefef; |
− | {{# | + | | autoheaders = y |
− | }}{{# | + | | abovestyle = font-size:100%; background-color: #bfdfff; |
− | + | | above = {{{above|}}} | |
− | + | ||
− | }}{{ | + | | title = {{{name|}}} {{#if:{{{callsign|}}}|({{{callsign|}}})}} |
− | }}{{ | + | | titleclass = fn org |
− | }}{{#if: {{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=frameless|alt={{{logo_alt|}}}}} |
− | + | | caption = {{{logo_caption|}}} | |
− | + | ||
− | | {{{ | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{image_alt|{{{alt|}}}}}}}} |
− | {{ | + | | caption2 = {{{caption|}}} |
− | }}{{ | + | |
− | }}{{ | + | | label1 = [[City of license|City]] |
− | }} | + | | data1 = {{{city|}}} |
− | }}{{ | + | |
− | + | | label2 = Broadcast area | |
− | + | | class2 = label | |
− | + | | data2 = {{{area|}}} | |
− | }}{{#if: {{{ | + | |
− | + | | label3 = [[Frequency]] | |
− | }} | + | | data3 = {{{frequency|}}} |
− | + | ||
− | + | | label4 = [[Radio Data System|RDS]] | |
− | | {{{ | + | | data4 = {{{rds|}}} |
− | {{#if: {{{ | + | |
− | + | | label5 = Branding | |
− | + | | data5 = {{{branding|}}} | |
− | }} | + | |
− | + | | rowclass5 = note | |
+ | |||
+ | | label6 = [[Slogan]] | ||
+ | | data6 = {{{slogan|}}} | ||
+ | |||
+ | | header10 = Programming | ||
+ | |||
+ | | label11 = Language(s) | ||
+ | | class11 = category | ||
+ | | data11 = {{{language|{{{languages|}}}}}} | ||
+ | |||
+ | | label12 = [[Radio format|Format]] | ||
+ | | class12 = category | ||
+ | | data12 = {{{format|}}} | ||
+ | |||
+ | | label13 = [[Digital subchannel|Subchannels]] | ||
+ | | data13 = {{{subchannels|}}} | ||
+ | |||
+ | | label14 = Network | ||
+ | | data14 = {{{network|}}} | ||
+ | |||
+ | | label15 = Affiliations | ||
+ | | data15 = {{{affiliations|}}} | ||
+ | |||
+ | | header20 = Ownership | ||
+ | |||
+ | | label21 = Owner | ||
+ | | data21 = {{{owner|}}} {{#if:{{{licensee|}}}|<br />({{{licensee|}}})}} | ||
+ | |||
+ | | label22 = Operator | ||
+ | | data22 = {{{operator|}}} | ||
+ | |||
+ | | label23 = {{longitem|[[Sister station]]s}} | ||
+ | | data23 = {{{sister_stations|}}} | ||
+ | |||
+ | | header30 = History | ||
+ | |||
+ | | label31 = Founded | ||
+ | | data31 = {{{founded|}}} | ||
+ | |||
+ | | label32 = {{longitem|First air date}} | ||
+ | | data32 = {{{airdate|}}} | ||
+ | |||
+ | | label33 = {{longitem|Last air date}} | ||
+ | | data33 = {{{last_airdate|}}} | ||
+ | |||
+ | | label34 = {{longitem|Former call signs}} | ||
+ | | data34 = {{{former_callsigns|}}} | ||
+ | |||
+ | | label35 = {{longitem|Former names}} | ||
+ | | data35 = {{{former_names|}}} | ||
+ | |||
+ | | label36 = {{longitem|Former frequencies}} | ||
+ | | data36 = {{{former_frequencies|}}} | ||
+ | |||
+ | | label37 = {{longitem|[[Call sign|Call sign]] meaning}} | ||
+ | | data37 = {{{callsign_meaning|}}} | ||
+ | |||
+ | | header40 = Technical information | ||
+ | |||
+ | | label41 = {{longitem|Licensing authority}} | ||
+ | | data41 = {{{licensing_authority|}}} | ||
+ | |||
+ | | label42 = [[Facility ID]] | ||
+ | | data42 = {{{facility_id|}}} | ||
+ | |||
+ | | label43 = [[List of North American broadcast station classes|Class]] | ||
+ | | class43 = category | ||
+ | | data43 = {{{class|}}} | ||
+ | |||
+ | | label44 = [[Transmitter power output|Power]] | ||
+ | | data44 = {{{power|}}} | ||
+ | |||
+ | | label45 = [[Effective radiated power|ERP]] | ||
+ | | data45 = {{{erp|}}} | ||
+ | |||
+ | | label46 = [[Height above average terrain|HAAT]] | ||
+ | | data46 = {{{haat|}}} | ||
+ | |||
+ | | label47 = {{longitem|Transmitter coordinates}} | ||
+ | | data47 = {{{coordinates|}}} | ||
+ | |||
+ | | label48 = [[Broadcast relay station|Translator(s)]] | ||
+ | | data48 = {{{translator|{{{translators|}}}}}} | ||
+ | |||
+ | | label49 = [[Repeater|Repeater(s)]] | ||
+ | | data49 = {{{repeater|{{{repeaters|}}}}}} | ||
+ | |||
+ | | header50 = Links | ||
+ | |||
+ | | label51 = {{longitem|{{#if: {{{acma_bsl|}}}|Public licence information|Public license information}} }} | ||
+ | | data51 = {{#switch:{{{licensing_authority|}}} | ||
+ | |[[Federal Communications Commission|FCC]]<!--preferred for United States stations--> | ||
+ | |FCC | ||
+ | |[[FCC]] | ||
+ | |Federal Communications Commission | ||
+ | |[[Federal Communications Commission]] | ||
+ | |F.C.C. | ||
+ | |[[F.C.C.]] | ||
+ | |[[Federal Communications Commission|F.C.C.]] = {{br separated entries | ||
+ | |[https://publicfiles.fcc.gov/{{#if: {{{power|}}} |am|fm}}-profile/{{#if: {{{callsign|}}} | {{{callsign|}}}|{{{name|}}}}} Profile]|{{FCC-LMS-Facility|{{{facility_id}}}|3=LMS}}|<!-- add a 3rd FCC link here. Notes: "Template:br separated entities" has a 3-item limit. Do not put in line breaks when using this template. -->}} <!-- end FCC {{br separated entries...}}--> | ||
+ | |[[National Telecommunications Agency (Brazil)|ANATEL]]<!--preferred for Brazil stations--> | ||
+ | |[[ANATEL]] | ||
+ | |ANATEL = {{#if: {{{anatel_id|}}} | [http://sistemas.anatel.gov.br/se/eApp/reports/b/srd/resumo_sistema.php?id={{{anatel_id}}} Profile] | }}<!--end Brazil section--> | ||
+ | |[[Australian Communications and Media Authority|ACMA]]<!--preferred for Brazil stations--> | ||
+ | |ACMA | ||
+ | |[[Australian Communications and Media Authority]] = {{#if: {{{acma_bsl|}}} |[https://web.acma.gov.au/rrl/licence_search.results_page?pQRY={{{acma_bsl}}}^%7C^Broadcast+Service+Licence&pSUB_TYPE=BSL+Number^%7C^Service&pEXACT_IND=matches^%7C^matches Profile] | }}<!--end Australia section--> | ||
+ | }} <!-- end #switch:licensing_authority --> | ||
+ | |||
+ | | label52 = [[Webcast]] | ||
+ | | data52 = {{{webcast|}}} | ||
+ | |||
+ | | label53 = Website | ||
+ | | data53 = {{{website|}}} | ||
+ | |||
+ | <!--for embedded infoboxes--> | ||
+ | | rowcellstyle60 = font-size:100%; background-color: #bfdfff; | ||
+ | | header60 = {{{embed_header|}}} | ||
+ | | data61 = {{{embedded|}}} | ||
+ | |||
+ | }}<!-- Start tracking | ||
+ | -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox radio station with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox radio station]] with unknown parameter "_VALUE_"|showblankpositional=y| above | acma_bsl | affiliations | airdate | alt | anatel_id | area | branding | callsign | callsign_meaning | caption | child | city | class | coordinates | embed_header | embedded | erp | facility_id | format | former_callsigns | former_frequencies | former_names | founded | frequency | haat | image | image_alt | image_size | language | languages | last_airdate | licensee | licensing_authority | logo | logo_alt | logo_caption | logo_size | name | network | operator | owner | power | rds | repeater | repeaters | sister_stations | slogan | subchannels | translator | translators | webcast | website }}<!-- End tracking --><noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 07:26, 17 September 2020
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template is used on approximately 22,000 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.
Transclusion count updated automatically (see documentation). |
![]() | This template adds an automatically generated short description. |
![]() | This template uses Lua: |
Contents
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:
- {{Frequency}}
- {{Start date}}
- {{End date}}
- {{Coord}}
- {{URL}}
as above.
If the radio station streams, consider using:
- {{TuneIn}}
- {{IHeartRadio}}
- {{Radio.com}}
If the radio station broadcasts digitally using the HD Radio digital radio standard, include {{HD Radio}} as part of the frequency parameter.
Microformat
TemplateData
TemplateData for Infobox radio station
Infobox for radio stations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of radio station, often the call sign | Line | suggested |
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.
| Unknown | optional |
Top label | above | Label field used if the station is a satellite or repeater of another station. | Unknown | optional |
Logo | logo | Logo of radio station | Unknown | 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 alternative text | logo_alt | Alternative text for logo | Unknown | optional |
Logo caption | logo_caption | Caption to appear under the radio 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 alternative text | image_alt alt | Alternative text for the image | Unknown | optional |
Caption | caption | Caption to appear under an image or under both a logo and an image. | Unknown | optional |
City | city | Name of city of license | Page | suggested |
Area | area | Name of broadcast area | Content | optional |
Frequency | frequency | Frequency in Hertz, using {{Frequency|NNN|XHz}}; additionally include {{HD Radio}} when the station broadcasts using that digital radio standard
| Line | suggested |
Radio Data System | rds | [[Radio Data System]] programme service name | Line | optional |
Branding | branding | Branding | Content | optional |
Slogan | slogan | Slogan of radio station | Content | optional |
Language(s) | language languages | Language(s) in which the station broadcasts | Unknown | optional |
Format | format | Programming format | Content | suggested |
Subchannels | subchannels | 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.
| Content | optional |
Network | network | Network to which station belongs | Content | optional |
Affiliations | affiliations | Affiliations of radio station | Content | optional |
Owner | owner | Owner of radio station | Content | suggested |
Licensee | licensee | Licensee of radio station | Content | optional |
Operator | operator | Operator of radio station | Content | optional |
Sister stations | sister_stations | Sister stations | 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 | 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 radio station. Don't use if former_callsigns is being used as well. | Content | optional |
Former frequencies | former_frequencies | Former frequencies | Content | optional |
Call sign meaning | callsign_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]]. | Content | optional |
Licensing authority | licensing_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]].
| String | optional |
Facility ID | facility_id | (For US stations) Facility ID number assigned by the US [[Federal Communications Commission]]. | 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]]. It can be found using the ACMA Register of Radiocommunications Licences: https://web.acma.gov.au/rrl/register_search.search_dispatcher.
| Number | optional |
ANATEL ID number | anatel_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.
| String | optional |
Class | class | Class | String | optional |
Power | power | Power rating for AM stations, in watts | Content | optional |
ERP | erp | Effective radiated power for FM stations, in watts | Content | optional |
HAAT | haat | Height above average terrain, in meters | Content | optional |
Coordinates | coordinates | Transmitter coordinates, using {{coord|}} | String | suggested |
Translators | translator translators | Translator(s) | Content | optional |
Repeaters | repeater repeaters | Repeater(s) | Content | optional |
Webcast | webcast | Live streaming URL of radio station, using [URL Listen Live] | String | optional |
Website | website | URL for radio 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
See also
The above documentation is transcluded from Template:Infobox radio station/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |