Template:Infobox radio station

From Gobblerpedia
Revision as of 17:55, 4 May 2017 by imported>Echarlie
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
City {{{city}}}
Broadcast area {{{area}}}
Branding {{{branding}}}
Slogan {{{slogan}}}
w:Frequency {{{frequency}}}
Translator(s) {{{translator}}}
Repeater(s) {{{repeater}}}
First air date {{{airdate}}}
Last air date {{{last airdate}}}
Format {{{format}}}
Language(s) {{{language}}}
Audience share {{{share}}} ({{{share as of}}}, {{{share source}}})
Power {{{power}}}
ERP {{{erp}}}
HAAT {{{haat}}}
Class {{{class}}}
w: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}}})
w:Sister stations {{{sister_stations}}}
w: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 -->
| share              = 
| share as of        = 
| share source       = 
| 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:

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 an "established", "founded", "opened" or similar date, use {{start date}} 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 error 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" }, "share ": { "label": "Share",

                       "description": "Ratings/share",

"type": "string" }, "share as of": { "label": "Share as of",

                       "description": "Date of ratings/share value",

"type": "string" }, "share source ": { "label": "Share source",

                       "description": "Source of ratings/share value",

"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 601: 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" }, "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.com", "type": "string" } }, "format": "block" } </templatedata>

Tracking category