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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (note use of Lua modules using AWB)
imported>PK2
Line 8: Line 8:
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox radio station
 
{{Infobox radio station
|name              =  
+
| name              =  
|image              =  
+
| image              =  
|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              =  
|share as of        =  
+
| share as of        =  
|share source      =  
+
| share source      =  
|format            =  
+
| format            =  
|language          =  
+
| language          =  
|power              =  
+
| power              =  
|erp                =  
+
| erp                =  
|haat              =  
+
| haat              =  
|class              =  
+
| class              =  
|facility_id        =  
+
| facility_id        =  
|coordinates        = <!-- {{coord|}} -->
+
| coordinates        = <!-- {{coord|}} -->
|callsign_meaning  =  
+
| callsign_meaning  =  
|former_callsigns  =  
+
| former_callsigns  =  
|former_frequencies =  
+
| former_frequencies =  
|affiliations      =  
+
| affiliations      =  
|operator          =  
+
| operator          =  
|owner              =  
+
| owner              =  
|licensee          =  
+
| licensee          =  
|sister_stations    =  
+
| sister_stations    =  
|webcast            = <!-- [URL Listen Live] -->
+
| webcast            = <!-- [URL Listen Live] -->
|website            = <!-- {{URL|example.com}} -->
+
| website            = <!-- {{URL|example.com}} -->
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 22:06, 24 December 2016

Usage

Template:Parameter names example

{{Infobox radio station
| name               = 
| image              = 
| 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