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

From blackwiki
Jump to navigation Jump to search
imported>Jeh
(")
imported>Jeh
("share" parameters were removed, so removed them from doc too)
Line 5: Line 5:
  
 
== Usage ==
 
== Usage ==
{{Parameter names example | _template= | name | image | image_size | alt | caption | city | area | branding | slogan | frequency | translator | repeater | airdate | last airdate | format | language | share | share source | share as of | power | erp | haat | class | facility_id | coordinates | callsign_meaning | former_callsigns | former_frequencies | affiliations | operator | owner | licensee | sister_stations | webcast | website }}
+
{{Parameter names example | _template= | name | image | image_size | alt | caption | city | area | branding | slogan | frequency | translator | repeater | airdate | last airdate | format | language | power | erp | haat | class | facility_id | coordinates | callsign_meaning | former_callsigns | former_frequencies | affiliations | operator | owner | licensee | sister_stations | webcast | website }}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox radio station
 
{{Infobox radio station

Revision as of 15:53, 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