Difference between revisions of "Template:AMQ/doc"
Jump to navigation
Jump to search
blackwiki>DrChuck68 m (→See also) |
m (16 revisions imported) |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --> | ||
| − | + | This template displays an external link to the [[Federal Communications Commission]] AM Query database for the applicable AM broadcast radio station in United States, Canada, or Mexico | |
== Usage == | == Usage == | ||
| − | <nowiki>{{AMQ|1=</nowiki>'' | + | <nowiki>{{AMQ|1=</nowiki>''callsign''<nowiki>|2=</nowiki>''URL text''<nowiki>}}</nowiki> |
Parameters: | Parameters: | ||
| − | *1 - the station | + | *1 - the station callsign, required |
*2 - the URL text, optional | *2 - the URL text, optional | ||
| Line 18: | Line 18: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | ! Code !! Result | + | ! Code !! Result !! URL |
|- | |- | ||
| − | | <code><nowiki>{{AMQ|WGY}}</nowiki></code> | + | | <code><nowiki>{{AMQ|WGY}}</nowiki></code> |
| + | | {{AMQ|WGY}} | ||
| + | | <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/amq?call={{hilite|WDRC}}</kbd> | ||
|- | |- | ||
| − | | <code><nowiki>{{AMQ|WGY|WGY (810 AM)}}</nowiki></code> | + | | <code><nowiki>{{AMQ|WGY|WGY (810 AM)}}</nowiki></code> |
| + | | {{AMQ|WGY|WGY (810 AM)}} | ||
| + | | same as prior example | ||
| + | |- | ||
| + | | <code><nowiki>{{AMQ|KJNO}}</nowiki></code> | ||
| + | | {{AMQ|KJNO}} | ||
| + | | <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/amq?call={{hilite|KJNO}}</kbd> | ||
| + | |- | ||
| + | | <code><nowiki>{{AMQ|CKSW}}</nowiki></code> | ||
| + | | {{AMQ|CKSW}} | ||
| + | | <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/amq?call={{hilite|CKSW}}</kbd> | ||
| + | |- | ||
| + | | <code><nowiki>{{AMQ|XERA}}</nowiki></code> | ||
| + | | {{AMQ|XERA}} | ||
| + | | <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/amq?call={{hilite|XERA}}</kbd> | ||
|} | |} | ||
| + | |||
| + | == TemplateData== | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Call sign", | ||
| + | "description": "Call sign of radio station, no suffix", | ||
| + | "required": true, | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Custom URL text", | ||
| + | "type": "string" | ||
| + | } | ||
| + | }, | ||
| + | "description": "FCC AM Query template", | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
== See also == | == See also == | ||
| − | * {{tl|FCC | + | * {{tl|FCC letter}} |
* {{tl|FCC-TV-Station-profile}} | * {{tl|FCC-TV-Station-profile}} | ||
* {{tl|FMQ}} | * {{tl|FMQ}} | ||
* {{tl|TVQ}} | * {{tl|TVQ}} | ||
| + | * [[Call signs in North America]] | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
{{DEFAULTSORT:Amq}} | {{DEFAULTSORT:Amq}} | ||
Latest revision as of 12:25, 16 October 2020
| This is a documentation subpage for Template:AMQ. 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 AM Query database for the applicable AM broadcast radio station in United States, Canada, or Mexico
Usage
{{AMQ|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 AM 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 |
|---|---|---|
{{AMQ|WGY}}
|
WGY in the FCC's AM station database | https://transition.fcc.gov/fcc-bin/amq?call=WDRC |
{{AMQ|WGY|WGY (810 AM)}}
|
WGY (810 AM) | same as prior example |
{{AMQ|KJNO}}
|
KJNO in the FCC's AM station database | https://transition.fcc.gov/fcc-bin/amq?call=KJNO |
{{AMQ|CKSW}}
|
CKSW in the FCC's AM station database | https://transition.fcc.gov/fcc-bin/amq?call=CKSW |
{{AMQ|XERA}}
|
XERA in the FCC's AM station database | https://transition.fcc.gov/fcc-bin/amq?call=XERA |
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 AMQ
FCC AM Query template
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Call sign | 1 | Call sign of radio station, no suffix | String | required |
| Custom URL text | 2 | no description | String | optional |
See also
- {{FCC letter}}
- {{FCC-TV-Station-profile}}
- {{FMQ}}
- {{TVQ}}
- Call signs in North America