Difference between revisions of "Template:AML/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>DrChuck68
m
m (8 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
  
Generates a web-link for [http://radio-locator.com/ Radio-Locator.com] (formerly the [[M.I.T.]] List of Radio Stations) for an AM station.
+
This template displays an external link to [http://radio-locator.com/ Radio-Locator.com] (formerly the [[M.I.T.]] List of Radio Stations) for an AM station.
  
 
== Usage ==
 
== Usage ==
Line 14: Line 14:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Code !! Result
+
! Code !! Result !! URL
 
|-
 
|-
| <code><nowiki>{{AML|WGY}}</nowiki></code> || {{AML|WGY}}
+
| <code><nowiki>{{AML|WGY}}</nowiki></code>
 +
| {{AML|WGY}}
 +
| <kbd>https://<nowiki/>radio-locator.com/info/{{hilite|WGY}}-AM</kbd>
 
|-
 
|-
| <code><nowiki>{{AML|WABC}}</nowiki></code> || {{AML|WABC}}
+
| <code><nowiki>{{AML|WABC}}</nowiki></code>
 +
| {{AML|WABC}}
 +
| <kbd>https://<nowiki/>radio-locator.com/info/{{hilite|WABC}}-AM</kbd>
 
|}
 
|}
 +
 +
== TemplateData==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Call sign",
 +
"description": "Call sign of radio station, without -AM",
 +
"required": true
 +
}
 +
},
 +
"description": "Radio-Locator query template for AM radio stations",
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
== See also ==
 
== See also ==
Line 26: Line 46:
 
* {{tl|LPL}}
 
* {{tl|LPL}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
{{DEFAULTSORT:Aml}}
 
{{DEFAULTSORT:Aml}}
 
[[Category:Radio external link templates]]
 
[[Category:Radio external link templates]]
</includeonly>
+
 
 +
}}</includeonly>

Latest revision as of 12:25, 16 October 2020

This template displays an external link to Radio-Locator.com (formerly the M.I.T. List of Radio Stations) for an AM station.

Usage

{{AML|callsign}}

There is only one parameter, the station callsign, and it is required. Do not include the -AM suffix.

Examples:

Code Result URL
{{AML|WGY}} WGY on Radio-Locator https://radio-locator.com/info/WGY-AM
{{AML|WABC}} WABC on Radio-Locator https://radio-locator.com/info/WABC-AM

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 AML

Radio-Locator query template for AM radio stations

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Call sign1

Call sign of radio station, without -AM

Unknownrequired

See also