Difference between revisions of "Template:FMQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>DrChuck68
m
imported>DrChuck68
m
Line 15: Line 15:
  
 
Examples:
 
Examples:
<nowiki>{{FMQ|WDRC}}</nowiki>
 
  
: {{FMQ|WDRC}}
+
{| class="wikitable"
 
+
|-
<nowiki>{{FMQ|WDRC|WDRC-FM}}</nowiki>
+
! Code !! Result
 
+
|-
: {{FMQ|WDRC|WDRC-FM}}
+
| <code><nowiki>{{FMQ|WDRC}}</nowiki></code> || {{FMQ|WDRC}}
 
+
|-
<nowiki>{{FMQ|WLIX-LP}}</nowiki>
+
| <code><nowiki>{{FMQ|WDRC|WDRC-FM}}</nowiki></code> || {{FMQ|WDRC|WDRC-FM}}
 
+
|-
: {{FMQ|WLIX-LP}}
+
| <code><nowiki>{{FMQ|WLIX-LP}}</nowiki></code> || {{FMQ|WLIX-LP}}
 
+
|-
<nowiki>{{FMQ|W245BA}}</nowiki>
+
| <code><nowiki>{{FMQ|W245BA}}</nowiki></code> || {{FMQ|W245BA}}
 
+
|}
: {{FMQ|W245BA}}
 
  
 
== See also ==
 
== See also ==

Revision as of 01:50, 22 March 2017

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.

Usage

{{FMQ|1=station-name|2=URL text}}

Parameters:

  • 1 - the station name, 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
{{FMQ|WDRC}} WDRC in the FCC's FM station database
{{FMQ|WDRC|WDRC-FM}} WDRC-FM
{{FMQ|WLIX-LP}} WLIX-LP in the FCC's FM station database
{{FMQ|W245BA}} W245BA in the FCC's FM station database

See also