Difference between revisions of "Template:FMQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>DrChuck68
(Removed link to deprecated template)
imported>Zyxw
(display URLs generated, misc formatting)
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>]]) -->
  
Generates a web-link for the [[Federal Communications Commission]] FM Query database for the applicable United States FM broadcast radio station, including LPFM and translator stations.
+
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 ==
 
== Usage ==
Line 18: Line 18:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Code !! Result
+
! Code !! Result !! URL
 
|-
 
|-
| <code><nowiki>{{FMQ|WDRC}}</nowiki></code> || {{FMQ|WDRC}}
+
| <code><nowiki>{{FMQ|WDRC}}</nowiki></code>
 +
| {{FMQ|WDRC}}
 +
| <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/fmq?call={{hilite|WDRC}}</kbd>
 
|-
 
|-
| <code><nowiki>{{FMQ|WDRC|WDRC-FM}}</nowiki></code> || {{FMQ|WDRC|WDRC-FM}}
+
| <code><nowiki>{{FMQ|WDRC|WDRC-FM}}</nowiki></code>
 +
| {{FMQ|WDRC|WDRC-FM}}
 +
| same as prior example
 
|-
 
|-
| <code><nowiki>{{FMQ|WLIX-LP}}</nowiki></code> || {{FMQ|WLIX-LP}}
+
| <code><nowiki>{{FMQ|WLIX-LP}}</nowiki></code>
 +
| {{FMQ|WLIX-LP}}
 +
| <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/fmq?call={{hilite|WLIX-LP}}</kbd>
 
|-
 
|-
| <code><nowiki>{{FMQ|W245BA}}</nowiki></code> || {{FMQ|W245BA}}
+
| <code><nowiki>{{FMQ|W245BA}}</nowiki></code>
 +
| {{FMQ|W245BA}}
 +
| <kbd>https://<nowiki/>transition.fcc.gov/fcc-bin/fmq?call={{hilite|W245BA}}</kbd>
 
|}
 
|}
  

Revision as of 00:24, 16 August 2018

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

See also