Template:Infobox radio station/sandbox
This is the template sandbox page for Template:Infobox radio station (diff). |
This template is used on 20,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 uses Lua: |
Usage[edit]
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] {{{caption}}} | |
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}}} |
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[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.
Sub-templates[edit]
Where possible, use:
- {{Frequency}}
- {{Start date}}
- {{Coord}}
- {{URL}}
as above.
Microformat[edit]
TemplateData[edit]
TemplateData for Infobox radio station
<templatedata>
{
"description": "Infobox for radio stations",
"params": {
"name ": {
"label": "Name",
"description": "Name of radio station, often the callsign",
"type": "line",
"suggested": true
},
"image": {
"label": "Image",
"description": "Image, often the logo of radio station",
"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": "string"
},
"branding ": {
"label": "Branding",
"description": "Branding",
"type": "string"
},
"slogan ": {
"label": "Slogan",
"description": "Slogan of radio station",
"type": "string"
},
"frequency ": {
"label": "Frequency",
"description": "Frequency in Hertz, using NNN XHz",
"type": "line",
"suggested": true
},
"translator ": {
"label": "Translators",
"description": "Translator(s)",
"type": "string"
},
"repeater ": {
"label": "Repeaters",
"description": "Repeater(s)",
"type": "string"
},
"airdate ": {
"label": "Airdate",
"description": "First date of broadcast, using Expression error: Unrecognized word "dd"., YYYY ",
"type": "string",
"suggested": true
},
"last airdate": {
"label": "Last airdate",
"description": "Last date of broadcast (for defunct stations), using Expression error: Unrecognized word "dd"., YYYY ",
"type": "string"
},
"format": {
"label": "Format",
"description": "Programming format",
"type": "string",
"suggested": true
},
"language ": {
"label": "Language",
"description": "Language",
"type": "string"
},
"power": {
"label": "Power",
"description": "Power rating for AM stations, in Watts",
"type": "string"
},
"erp ": {
"label": "ERP",
"description": "Effective radiated power for FM stations, in Watts",
"type": "string"
},
"haat ": {
"label": "HAAT",
"description": "Height above average terrain, in meters",
"type": "string"
},
"class": {
"label": "Class",
"description": "Class",
"type": "string"
},
"facility_id ": {
"label": "Facility ID",
"description": "Facility ID",
"type": "string"
},
"coordinates ": {
"label": "Coordinates",
"description": "Transmitter coordinates, using ",
"suggested": true,
"type": "string"
},
"callsign_meaning ": {
"label": "Callsign meaning",
"description": "Callsign meaning",
"type": "string"
},
"former_callsigns": {
"label": "Former callsigns",
"description": "Former callsigns",
"type": "string"
},
"former_frequencies": {
"label": "Former frequencies",
"description": "Former frequencies",
"type": "string"
},
"affiliations ": {
"label": "Affiliations",
"description": "Affiliations of radio station",
"type": "string"
},
"operator": {
"label": "Operator",
"description": "Operator of radio station",
"type": "string",
},
"owner": {
"label": "Owner",
"description": "Owner of radio station",
"type": "string",
"suggested": true
},
"licensee": {
"label": "Licensee",
"description": "Licensee of radio station",
"type": "string"
},
"sister_stations ": {
"label": "Sister_stations",
"description": "Sister stations",
"type": "string"
},
"webcast ": {
"label": "Webcast",
"description": "Live streaming URL or radio station, using [URL Listen Live]",
"type": "string"
},
"website ": {
"label": "Website",
"type": "Website of radio station, using example