Template:Infobox radio station/doc: Difference between revisions
en>Athaenara m (Reverted edits by Bimal jayasooriya (talk) to last version by Zyxw) |
m (1 revision imported) |
Latest revision as of 13:47, 9 February 2019
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. |
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 uses Lua: |
Usage
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
City | {{{city}}} |
---|---|
Broadcast area | {{{area}}} |
Branding | {{{branding}}} |
Slogan | {{{slogan}}} |
Frequency | {{{frequency}}} |
Translator(s) | {{{translator}}} |
Repeater(s) | {{{repeater}}} |
First air date | {{{airdate}}} |
Last air date | {{{last airdate}}} |
Format | {{{format}}} |
Language(s) | {{{language}}} |
Power | {{{power}}} |
ERP | {{{erp}}} |
HAAT | {{{haat}}} |
Class | {{{class}}} |
Facility ID | {{{facility_id}}} |
Transmitter coordinates | {{{coordinates}}} |
Callsign meaning | {{{callsign_meaning}}} |
Former callsigns | {{{former_callsigns}}} |
Former frequencies | {{{former_frequencies}}} |
Affiliations | {{{affiliations}}} |
Operator | {{{operator}}} |
Owner | {{{owner}}} ({{{licensee}}}) |
Sister stations | {{{sister_stations}}} |
Webcast | {{{webcast}}} |
Website | {{{website}}} |
{{Infobox radio station | name = | image = | image_size = <!-- optional when used with image parameter, specifies image size --> | alt = <!-- optional when used with image parameter, specifies image alternate (alt) text --> | caption = <!-- optional when used with image parameter, specifies image caption --> | city = | area = | branding = | slogan = | frequency = <!-- {{Frequency|NNN|XHz}} --> | translator = | repeater = | airdate = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} --> | last airdate = <!-- for defunct stations --> | format = | language = | power = | erp = | haat = | class = | facility_id = | coordinates = <!-- {{coord|}} --> | callsign_meaning = | former_callsigns = | former_frequencies = | affiliations = | operator = | owner = | licensee = | sister_stations = | webcast = <!-- [URL Listen Live] --> | website = <!-- {{URL|example.com}} --> }}
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.
Sub-templates
Where possible, use:
- {{Frequency}}
- {{Start date}}
- {{Coord}}
- {{URL}}
as above.
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
Tracking category