Difference between revisions of "Template:IHeartRadio/doc"

From blackwiki
Jump to navigation Jump to search
imported>DrChuck68
imported>DrChuck68
 
(4 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
This template is for radio stations that stream via [[iHeartRadio]].
 
This template is for radio stations that stream via [[iHeartRadio]].
  
Example for [[KHKS]]: <code><nowiki>{{iHeartRadio|2245}}</nowiki></code>
+
Example for [[KHKS]] (106.1 KISS-FM):  
 +
: ''Usage:'' <code><nowiki>{{iHeartRadio|2245}}</nowiki></code>
 +
: ''Output:'' {{iHeartRadio|2245}}
 +
: ''URL:'' <kbd>[https://www.iheart.com/live/2245/?autoplay=true https://www.iheart.com/live/{{Hilite|2245}}/?autoplay=true]</kbd>
 +
 
 +
==TemplateData==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "Numeric ID of stream",
 +
"example": "2245",
 +
"type": "number",
 +
"required": true
 +
}
 +
},
 +
"description": "iHeartRadio streaming link template",
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
== See also ==
 
== See also ==
 +
* {{tl|Listen live}}
 +
* {{tl|Radio.com}}
 
* {{tl|TuneIn}}
 
* {{tl|TuneIn}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Radio templates]]
+
[[Category:Radio external link templates]]
[[Category:External link templates]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 15:25, 8 October 2020

This template is for radio stations that stream via iHeartRadio.

Example for KHKS (106.1 KISS-FM):

Usage: {{iHeartRadio|2245}}
Output: Listen live (via iHeartRadio)
URL: https://www.iheart.com/live/2245/?autoplay=true

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 IHeartRadio

iHeartRadio streaming link template

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Numeric ID of stream

Example
2245
Numberrequired

See also