Difference between revisions of "Template:Infobox radio station/doc"
Jump to navigation
Jump to search
imported>DrChuck68 |
|||
| Line 32: | Line 32: | ||
| class = | | class = | ||
| facility_id = | | facility_id = | ||
| + | | pushpin_map = <!-- name of a location map as per Template:Location_map --> | ||
| + | | pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none --> | ||
| + | | pushpin_label = <!-- only necessary if "name" or "official_name" are too long --> | ||
| + | | pushpin_map_alt = | ||
| + | | pushpin_mapsize = | ||
| + | | pushpin_relief = | ||
| + | | pushpin_map_caption = | ||
| coordinates = <!-- {{coord|}} --> | | coordinates = <!-- {{coord|}} --> | ||
| callsign_meaning = | | callsign_meaning = | ||
| Line 179: | Line 186: | ||
"description": "Facility ID", | "description": "Facility ID", | ||
"type": "string" | "type": "string" | ||
| + | }, | ||
| + | "pushpin_map": { | ||
| + | "label": "pushpin_map", | ||
| + | "description": "The name of a location map (e.g. 'Indonesia' or 'Russia'). The coordinates information (from the coordinates parameter) position a pushpin coordinate marker and label on the map 'automatically'. Example see: Padang, Indonesia", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_label_position": { | ||
| + | "label": "pushpin_label_position", | ||
| + | "description": "The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is ''right''.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_map_alt": { | ||
| + | "label": "pushpin_map_alt", | ||
| + | "description": "Alt text for pushpin map.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_mapsize": { | ||
| + | "label": "pushpin_mapsize", | ||
| + | "description": "Must be entered as only a number—do not use px. The default value is 250.", | ||
| + | "type": "number", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_map_caption": { | ||
| + | "label": "pushpin_map_caption", | ||
| + | "description": "Fill out if a different caption from ''map_caption'' is desired.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_relief": { | ||
| + | "label": "pushpin_relief", | ||
| + | "description": "Set this to 'y' or any non-blank value to use an alternative relief map provided by the selected location map (if a relief map is available).", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pushpin_overlay": { | ||
| + | "label": "pushpin_overlay", | ||
| + | "description": "Can be used to specify an image to be superimposed on the regular pushpin map.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
}, | }, | ||
"coordinates ": { | "coordinates ": { | ||
Revision as of 02:40, 11 January 2017
| This is a documentation subpage for Template:Infobox radio station. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on 22,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
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 =
| pushpin_map = <!-- name of a location map as per Template:Location_map -->
| pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none -->
| pushpin_label = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt =
| pushpin_mapsize =
| pushpin_relief =
| pushpin_map_caption =
| 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
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