Difference between revisions of "Template:FMQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>DrChuck68
imported>DrChuck68
m
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
  
  <nowiki>{{FMQ|1=</nowiki>''station-name''<nowiki>|2=</nowiki>''URL text''<nowiki>}}</nowiki>
+
  <nowiki>{{FMQ|1=</nowiki>''callsign''<nowiki>|2=</nowiki>''URL text''<nowiki>}}</nowiki>
  
 
Parameters:
 
Parameters:
*1 - the station name, required
+
*1 - the station callsign, required
 
*2 - the URL text, optional
 
*2 - the URL text, optional
  

Revision as of 17:31, 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=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
{{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