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

From blackwiki
Jump to navigation Jump to search
(Undid revision 759428715 by 104.243.164.77 (talk))
imported>Jeh
(")
Line 22: Line 22:
 
| 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 as of        =
 
| share source      =
 
 
| format            =  
 
| format            =  
 
| language          =  
 
| language          =  
Line 127: Line 124:
 
"label": "Last airdate",
 
"label": "Last airdate",
 
"description": "Last date of broadcast (for defunct stations), using {{Start date|YYYY|MM|DD}}",
 
"description": "Last date of broadcast (for defunct stations), using {{Start date|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"
 
"type": "string"
 
},
 
},

Revision as of 15:52, 14 June 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 -->
| 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