Template:Infobox radio station/sandbox
This is the template sandbox page for Template:Infobox radio station (diff). See also the companion subpage for test cases. |
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. |
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 Lua: |
This template uses TemplateStyles: |
Usage
[edit]{{{above}}} | |
---|---|
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}|class=ib-radio-station-logo]] | |
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}|class=ib-radio-station-logo]] | |
| |
Broadcast area | {{{area}}} |
Frequency | {{{frequency}}} |
RDS | {{{rds}}} |
Branding | {{{branding}}} |
Programming | |
Language(s) | {{{language}}} |
Format | {{{format}}} |
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 frequencies | {{{former_frequencies}}} |
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 | |
Webcast | {{{webcast}}} |
Website | {{{website}}} |
{{Infobox radio station
| name =
| city =
| country =
| above =
| callsign =
| logo =
| logo_upright =
| logo_alt =
| logo_caption =
| image =
| image_alt =
| caption =
| area =
| frequency = <!--also can use "frequencies" if there are multiple-->
| rds =
| branding =
| 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 = <!--For United States radio stations only-->
| class =
| power = <!--AM stations only-->
| erp = <!--FM stations only-->
| haat = <!--FM stations only-->
| coordinates =
| translators =
| repeaters =
| webcast =
| website =
| child =
| embed_header =
| embedded =
}}
Parameters
[edit]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. Similarly, area
is not used to simply repeat the same information that is already present in city
; it should be used only when it needs to provide different information, such as a wider metropolitan market that might be served by a station whose city
is technically just a suburb of the whole market.
The following country shortcodes are supported in Infobox radio station and Infobox television station:
- AR = Argentina
- AU = Australia
- BR = Brazil
- CA = Canada
- CN = China
- DE = Germany
- ES = Spain
- FR = France
- HK = Hong Kong
- ID = Indonesia
- IE = Ireland
- IN = India
- IL = Israel
- IT = Italy
- JP = Japan
- KE = Kenya
- KR = South Korea
- MX = Mexico
- NG = Nigeria
- NZ = New Zealand
- NO = Norway
- PH = Philippines
- PK = Pakistan
- SA = South Africa
- TR = Turkey
- TZ = Tanzania
- UK = United Kingdom
- US = United States
- VE = Venezuela
- ZW = Zimbabwe
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
Country-specific licensing parameters
[edit]This template displays links to license information for select countries when certain parameters are supplied.
Australia
[edit]Set licensing_authority
to [[Australian Communications and Media Authority|ACMA]]
and enter the Broadcast Service Licence (BSL) number in the field acma_bsl
.
Brazil
[edit]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
[edit]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
[edit]Where possible, use:
- {{Frequency}}
- {{Start date}}
- {{End date}}
- {{Coord}}
- {{URL}}
as above.
If the radio station streams, consider using:
- {{TuneIn}}
- {{IHeartRadio}}
- {{Audacy.com}}
If the radio station broadcasts digitally using the HD Radio digital radio standard, include {{HD Radio}} as part of the frequency parameter.
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 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 upright scale factor | logo_upright | See MOS:UPRIGHT | Number | 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 upright scale factor | image_upright | A numerical factor for the sizing of the image. See MOS:UPRIGHT for more information. | Number | 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 name | suggested |
Country | country | Country. Also supports some two-letter codes including UK, US, etc. For a full list, see Template:Infobox radio station/doc#Country codes. | Content | suggested |
Area | area | Name of broadcast area | Content | optional |
Frequency | frequency frequencies | 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 | The way the station presents its name, if different from the ''name'' parameter.
| Content | optional |
Language(s) | language languages | Language(s) in which the station broadcasts | Unknown | optional |
Format | format | Programming format: See: Radio 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. 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 | (For stations in North America, Colombia, and Brazil) 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
[edit]See also
[edit]- ^ "Facility Technical Data for {{{callsign}}}". Licensing and Management System. Federal Communications Commission.