Difference between revisions of "Template:AM station data/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
blackwiki>Raymie
(add templatedata)
Line 16: Line 16:
  
 
{{{{BASEPAGENAME}}|WHAM}}
 
{{{{BASEPAGENAME}}|WHAM}}
 +
===TemplateData documentation===
  
 +
{{TemplateData header}}
 +
 +
<templatedata>{
 +
  "description": "This template links to resources about low-power FM radio stations.",
 +
  "params": {
 +
    "1": {
 +
      "label": "AM station callsign",
 +
      "description": "The callsign of the radio station. Do not add -AM.",
 +
      "type": "string",
 +
      "example": "WHAM",
 +
      "required": true
 +
    }
 +
  }
 +
}</templatedata>
 
== Supporting templates ==
 
== Supporting templates ==
 
* {{tl|AMQ}}, displays link to the Federal Communications Commission AM Query database
 
* {{tl|AMQ}}, displays link to the Federal Communications Commission AM Query database

Revision as of 01:32, 19 June 2019

Usage

{{AM station data|callsign}}

Please do not add -AM to the callsign.

Example

Usage in the article WHAM (AM):

{{AM station data|WHAM}}

Output:

TemplateData documentation

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 AM station data

This template links to resources about low-power FM radio stations.

Template parameters

ParameterDescriptionTypeStatus
AM station callsign1

The callsign of the radio station. Do not add -AM.

Example
WHAM
Stringrequired

Supporting templates

  • {{AMQ}}, displays link to the Federal Communications Commission AM Query database
  • {{AML}}, displays link to Radio-Locator for an AM station
  • {{AMARB}}, displays link to Nielsen Audio (formerly Arbitron) for an AM station

See also