Difference between revisions of "Template:Infobox radio station/doc"

From blackwiki
Jump to navigation Jump to search
imported>PK2
imported>DrChuck68
Line 10: Line 10:
 
| name              =  
 
| name              =  
 
| image              =  
 
| 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              =  
 
| city              =  
 
| area              =  
 
| area              =  
 
| branding          =  
 
| branding          =  
 
| slogan            =  
 
| slogan            =  
| frequency          = <!-- {{frequency|NNN|XHz}} -->
+
| frequency          = <!-- {{Frequency|NNN|XHz}} -->
 
| translator        =  
 
| translator        =  
 
| repeater          =  
 
| repeater          =  
| airdate            = <!-- {{start date|YYYY|MM|DD|df=yes/no}} -->
+
| airdate            = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} -->
 
| last airdate      = <!-- for defunct stations -->
 
| last airdate      = <!-- for defunct stations -->
 
| share              =  
 
| share              =  

Revision as of 02:29, 8 January 2017

Usage

Template: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 -->
| 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

Template:UF-hcard-geo

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

Syntax error in JSON.

Tracking category