Difference between revisions of "Template:FMQ/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Sammi Brie (add tdata) |
||
| Line 36: | Line 36: | ||
| <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/fmq?call={{hilite|W245BA}}</kbd> | | <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/fmq?call={{hilite|W245BA}}</kbd> | ||
|} | |} | ||
| + | |||
| + | == TemplateData== | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Call sign", | ||
| + | "description": "Call sign of radio station", | ||
| + | "required": true, | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Custom URL text", | ||
| + | "type": "string" | ||
| + | } | ||
| + | }, | ||
| + | "description": "FCC FM Query template", | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
== See also == | == See also == | ||
Latest revision as of 03:26, 16 July 2020
| This is a documentation subpage for Template:FMQ. It contains usage information, categories and other content that is not part of the original template page. |
This template displays an external link to the Federal Communications Commission FM Query database for the applicable United States FM broadcast radio station, including LPFM and translator stations.
Usage
{{FMQ|1=callsign|2=URL text}}
Parameters:
- 1 - the station callsign, required
- 2 - the URL text, optional
Historical note: Prior to the URL text parameter being added, the URL text Query the FCC's FM station database for {{{1}}}} was hard-coded into this template. When the URL text parameter was added, the previous text was left as the default.
Examples:
| Code | Result | URL |
|---|---|---|
{{FMQ|WDRC}}
|
WDRC in the FCC's FM station database | https://transition.fcc.gov/fcc-bin/fmq?call=WDRC |
{{FMQ|WDRC|WDRC-FM}}
|
WDRC-FM | same as prior example |
{{FMQ|WLIX-LP}}
|
WLIX-LP in the FCC's FM station database | https://transition.fcc.gov/fcc-bin/fmq?call=WLIX-LP |
{{FMQ|W245BA}}
|
W245BA in the FCC's FM station database | https://transition.fcc.gov/fcc-bin/fmq?call=W245BA |
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 FMQ
FCC FM Query template
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Call sign | 1 | Call sign of radio station | String | required |
| Custom URL text | 2 | no description | String | optional |
See also
- {{AMQ}}
- {{FCC letter}}
- {{FCC-TV-Station-profile}}
- {{TVQ}}