Template:Infobox radio station

From Wikitia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

Script error: No such module "Parameter names example".

{{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 = 
| network            = 
| 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:

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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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 Template:Frequency", "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 (YYYY-MM-DD)", "type": "string", "suggested": true }, "last airdate": { "label": "Last airdate", "description": "Last date of broadcast (for defunct stations), using  Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD)", "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 Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).", "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" }, "network": { "label": "Network", "description": "Network to which station belongs", "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 of radio station, using [URL Listen Live]", "type": "string" }, "website": { "label": "Website", "type": "Website of radio station, using example.com", "type": "string" } }, "format": "block" } </templatedata>

Tracking category