Template:Infobox radio station/doc: Difference between revisions
en>Sungodtemple m (Reverted 1 edit by Igaming 13 (talk) to last revision by Sammi Brie) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:13, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox radio station. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "High-use".
File:Information icon4.svg | 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. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{Infobox radio station | name = | city = | country = | above = | callsign = | logo = | logo_upright = | logo_alt = | logo_caption = | image_alt = | caption = | area = | frequency = | 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
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.
Script error: No such module "anchor".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
{{#section:Template:Infobox Australian place/doc|image_upright}}
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}}
- {{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
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
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
See also
Script error: No such module "Navbox".