Difference between revisions of "Template:AMARB"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(Update to link for Summer 2018, since Winter 2018 links no longer work. This template needs to be updated four times per year, see edit history for examples.)
blackwiki>Zyxw
(Remove "surveyID=SU18&" from URL, the links work without it and this will prevent having to update the template four times per year.)
Line 1: Line 1:
[https://www1.arbitron.com/sip/displaySip.do?surveyID=SU18&band=am&callLetter={{{1}}} Query Nielsen Audio's AM station database for {{{1}}}]<noinclude>
+
[https://www1.arbitron.com/sip/displaySip.do?band=am&callLetter={{{1}}} Query Nielsen Audio's AM station database for {{{1}}}]<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 01:01, 16 August 2018

Query Nielsen Audio's AM station database for {{{1}}}

Template documentation[view] [edit] [history] [purge]

This template displays an external link to Nielsen Audio (formerly Arbitron) for an AM station.

Usage

{{AMARB|callsign}}

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

Examples

To the right of each example is the displayed output. Below each example is the actual wiki-markup output which includes the URL. Template:Nowiki template demo Template:Nowiki template demo

Template maintenance

This template uses a URL in the following format:

https://www1.arbitron.com/sip/displaySip.do?surveyID=Season&band=am&callLetter=Callsign

Season is a code representing the current season and year. Examples: SP17 for Spring 2017, SU17 for Summer 2017, FA17 for Fall 2017, and WI18 for Winter 2018. Therefore, this template should be updated each season. If not, the links will land on pages stating "No data found" such as:

https://www1.arbitron.com/sip/displaySip.do?surveyID=FA17&band=am&callLetter=WGY

TemplateData

Nielsen Audio 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