This module is rated as beta . It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.
This module powers the chart templates: {{ Single chart }} , {{ Album chart }} , {{ Year-end single chart }} , and {{ Year-end album chart }} .
It generates table rows with chart name, reference, and peak position for music releases. Chart data is stored in four distinct JSON pages, allowing easy maintenance without editing Lua code.
Charts output
Charts
Data: Module:Music chart/single.json • Testcases: Template:Single chart/testcases
Single chart outputs
Group
Chart ID
Uses
Chart
Provider
Required params
Sample ref output
Argentina
Argentina
15
→ Billboardargentinahot100
Argentina Anglo
50
Argentina Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Argentina Anglo música ". Monitor Latino.
Argentina ML
30
Argentina Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Argentina música ". Monitor Latino.
Billboardargentinahot100
485
Argentina Hot 100
Billboard
artist
"{artist} Chart History (Argentina Hot 100) ". Billboard .
Australia
Australia
6983
Australia
ARIA
artist, song
"{artist} – {song} ". ARIA Top 50 Singles .
AustraliaKent
25
Australia
Kent Music Report
page
{{cite Kent|page=42}}.
Australiadance
155
Australian Dance
ARIA
url
"[{url} The ARIA Report, Issue ]". ARIA Top 50 Dance Singles . National Library of Australia.
Australiapandora
429
Australia
ARIA
url
"[{url} The ARIA Report, Issue ]". ARIA Top 100 Singles . National Library of Australia.
Australiaurban
527
Australian Urban
ARIA
url
"[{url} The ARIA Report, Issue ]". ARIA Top 40 Urban Singles . National Library of Australia.
Austria
Austria
6727
Austria
Ö3 Austria Top 40
artist, song
"{artist} – {song} " (in German). Ö3 Austria Top 40 .
Belarus
Belarus
93
Belarus Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Belarus Weekly Chart ". TopHit .
Belgium
Flanders
7051
Belgium
Ultratop 50 Flanders
artist, song
"{artist} – {song} " (in Dutch). Ultratop 50 .
Flanders Dance
281
Belgium Dance
Ultratop Flanders
artist, song
"{artist} – {song} " (in Dutch). Ultratop Dance.
Flanders Tip
3258
Belgium
Ultratip Bubbling Under Flanders
artist, song
"{artist} – {song} " (in Dutch). Ultratip .
Flanders Urban
204
Belgium Urban
Ultratop Flanders
artist, song
"{artist} – {song} " (in Dutch). Ultratop Urban.
Wallonia
3949
Belgium
Ultratop 50 Wallonia
artist, song
"{artist} – {song} " (in French). Ultratop 50 .
Wallonia Dance
167
Belgium Dance
Ultratop Wallonia
artist, song
"{artist} – {song} " (in French). Ultratop Dance.
Wallonia Tip
2402
Belgium
Ultratip Bubbling Under Wallonia
artist, song
"{artist} – {song} " (in French). Ultratip .
Bolivia
Bolivia
31
Bolivia Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Bolivia música ". Monitor Latino.
Bolivia Anglo
57
Bolivia Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Bolivia Anglo música ". Monitor Latino.
Brazil
Brazil (defunct)
28
Brazil Hot 100 Airplay
Billboard Brasil
—
(no url)
Brazil2
167
Brazil Hot 100
Billboard
artist
"{artist} Chart History (Brasil Hot 100) ". Billboard .
Bulgaria
Bulgaria
45
Bulgaria Airplay
BAMP
url
"[{url} Airplay Top 5 – ]". Bulgarian Association of Music Producers .
CIS
CIS
1461
CIS Airplay
TopHit
songid
"Charts – TopHit – Highway to Airplay ". TopHit .
Canada
Billboardcanadaac (defunct)
735
Canada AC
Billboard
artist
"{artist} Chart History (Canada AC) ". Billboard . {{dead link|date=November 2024}}
Billboardcanadachrtop40 (defunct)
1257
Canada CHR/Top 40
Billboard
artist
"{artist} Chart History (Canada CHR/Top 40) ". Billboard . {{dead link|date=November 2024}}
Billboardcanadacountry
1302
Canada Country
Billboard
artist
"{artist} Chart History (Canada Country) ". Billboard .
Billboardcanadahotac (defunct)
1108
Canada Hot AC
Billboard
artist
"{artist} Chart History (Canada Hot AC) ". Billboard . {{dead link|date=November 2024}}
Billboardcanadarock (defunct)
730
Canada Rock
Billboard
artist
"{artist} Chart History (Canada Rock) ". Billboard . {{dead link|date=November 2024}}
Billboardcanadianhot100
733
Canada Hot 100
Billboard
artist
"{artist} Chart History (Canadian Hot 100) ". Billboard .
Canada
5578
→ Billboardcanadianhot100
Canadaadultcontemporary
1365
Canada Adult Contemporary
RPM
chartid
"Top RPM Adult Contemporary: Image 12345 ". RPM . Library and Archives Canada .
Canadacountry
1808
Canada Country Tracks
RPM
chartid
"Top RPM Country Tracks: Image 12345 ". RPM . Library and Archives Canada .
Canadadance
573
Canada Dance/Urban
RPM
chartid
"Top RPM Dance/Urban: Image 12345 ". RPM . Library and Archives Canada .
Canadamainstreamrock
34
Canada Mainstream Rock
Billboard Canada
date [YYYY-MM-DD]
"Canada Mainstream Rock for the week of January 15, 2024 ". Billboard Canada .
Canadamodernrock
41
Canada Modern Rock
Billboard Canada
date [YYYY-MM-DD]
"Canada Modern Rock for the week of January 15, 2024 ". Billboard Canada .
Canadarock
344
Canada Rock/Alternative
RPM
chartid
"Top RPM Rock/Alternative Tracks: Image 12345 ". RPM . Library and Archives Canada .
Canadatopsingles
3412
Canada Top Singles
RPM
chartid
"Top RPM Singles: Image 12345 ". RPM . Library and Archives Canada .
Central America
Central America
9
Central America Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Centroamérica música ". Monitor Latino.
Central America Anglo
70
Central America Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Centroamérica Anglo música ". Monitor Latino.
Chile
Chile
33
Chile Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Chile música ". Monitor Latino.
Chile Anglo
44
Chile Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Chile Anglo música ". Monitor Latino.
Colombia
Billboardcolombiahot100
18
Colombia Hot 100
Billboard
artist
"{artist} Chart History (Colombia Hot 100) ". Billboard .
Colombia
5
Colombia Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Colombia música ". Monitor Latino.
Colombia Anglo
45
Colombia Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Colombia Anglo música ". Monitor Latino.
Costa Rica
Costa Rica
18
Costa Rica Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Costa Rica música ". Monitor Latino.
Costa Rica Anglo
70
Costa Rica Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Costa Rica Anglo música ". Monitor Latino.
Czech Republic
Czech Republic
2142
Czech Republic Airplay
ČNS IFPI
week, year
"ČNS IFPI – CZ Radio – Top 100 – 3. týden 2024 " (in Czech). Hitparáda – Radio Top 100 Oficiální. IFPI Czech Republic.
Czechdigital
1835
Czech Republic Singles Digital
ČNS IFPI
week, year
"ČNS IFPI – CZ Singles Digital – Top 100 – 3. týden 2024 " (in Czech). Hitparáda – Digital Top 100 Oficiální. IFPI Czech Republic.
Denmark
Denmark → year, week
2313
Denmark
Tracklisten
year, week
"Track Top-40 – Hitlisten.NU – Danmarks officielle hitlister " (in Danish). Tracklisten .
Denmark → artist, song
artist, song
"{artist} – {song} ". Tracklisten .
Denmark Airplay
142
Denmark Airplay
Tracklisten
week, year
"Airplay Top-20 – Hitlisten.NU – Danmarks officielle hitlister " (in Danish). Tracklisten .
Dominican Republic
Dominican Republic
5
Dominican Republic Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 República Dominicana música ". Monitor Latino.
Dominican Republic Anglo
70
Dominican Republic Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 República Dominicana Anglo música ". Monitor Latino.
Ecuador
Ecuador
10
Ecuador Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Ecuador música ". Monitor Latino.
Ecuador Anglo
72
Ecuador Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Ecuador Anglo música ". Monitor Latino.
El Salvador
El Salvador
12
El Salvador Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 El Salvador música ". Monitor Latino.
El Salvador Anglo
43
El Salvador Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 El Salvador Anglo música ". Monitor Latino.
Estonia
Estonia
227
Estonia Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Estonia Weekly Chart ". TopHit .
Europe
Billboardeurodigital
343
Euro Digital Song Sales
Billboard
artist
"{artist} Chart History (Euro Digital Song Sales) ". Billboard .
Billboardeuropeanhot100 (defunct)
180
European Hot 100 Singles
Billboard
artist
"{artist} Chart History (European Hot 100 Singles) ". Billboard . {{dead link|date=November 2021}}
Finland
Finland
2359
Finland
Suomen virallinen lista
artist, song
"{artist}: {song} " (in Finnish). Musiikkituottajat .
Finland2
4
Finland
Suomen virallinen lista
artist, song
"{artist} – {song} " (in French). Musiikkituottajat .
Finnishairplay
285
Finland Airplay
Radiosoittolista
artist, song
"{artist}: {song} " (in Finnish). Musiikkituottajat .
Finnishdownload
169
Finland Download
Latauslista
artist, song
"{artist}: {song} " (in Finnish). Musiikkituottajat .
France
France
5976
France
SNEP
artist, song
"{artist} – {song} " (in French). Le classement de singles .
Frenchdigital
28
France Download
SNEP
date [YYYYMMDD]
"lescharts.com – Français " (in French). Le classement des téléchargements de singles .
Germany
Germany
8123
Germany
GfK
year, songid
"Offizielle Deutsche Charts " (in German). [year<1977 → To see the peak chart position, click 'TITEL VON', followed by the artist's name]. GfK Entertainment charts .
West Germany
1725
West Germany
GfK
year, songid
"Offizielle Deutsche Charts (West Germany) " {{in lang|de}}. [year<1977 → To see the peak chart position, click 'TITEL VON', followed by the artist's name]. GfK Entertainment charts .
Global
Billboardglobal200
2508
Global 200
Billboard
artist
"{artist} Chart History (Global 200) ". Billboard .
Guatemala
Guatemala
33
Guatemala Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Guatemala música ". Monitor Latino.
Guatemala Anglo
71
Guatemala Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Guatemala Anglo música ". Monitor Latino.
Honduras
Honduras
9
Honduras Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Honduras música ". Monitor Latino.
Honduras Anglo
52
Honduras Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Honduras Anglo música ". Monitor Latino.
Hungary
Hungary
1316
→ Hungaryradio
Hungarydance
803
Hungary
Dance Top 40
year, week
"Archívum – Slágerlisták – MAHASZ " (in Hungarian). Dance Top 40 lista . Magyar Hanglemezkiadók Szövetsége.
Hungaryradio
399
Hungary
Rádiós Top 40
year, week
"Archívum – Slágerlisták – MAHASZ " (in Hungarian). Rádiós Top 40 játszási lista . Magyar Hanglemezkiadók Szövetsége.
Hungarysingle
2144
Hungary
Single Top 40
year, week
"Archívum – Slágerlisták – MAHASZ " (in Hungarian). Single (track) Top 40 lista . Magyar Hanglemezkiadók Szövetsége.
Hungarystream
760
Hungary
Stream Top 40
year, week
"Archívum – Slágerlisták – MAHASZ " (in Hungarian). Stream Top 40 slágerlista . Magyar Hanglemezkiadók Szövetsége.
Ireland
Ireland
1156
Ireland
IRMA
year, week
"Chart Track: Week 3, 2024 ". Irish Singles Chart . Archived from the original .
Ireland2 → artist
5928
Ireland
IRMA
artist
"The Irish Charts – Search Results – {artist} ". Irish Singles Chart .
Ireland2 → song
song
"The Irish Charts – Search Results – {song} ". Irish Singles Chart .
Ireland3
1656
Ireland
IRMA
artist
"Irish-charts.com – Discography {artist} ". Irish Singles Chart .
Israel
Israel International
174
Israel International Airplay
Media Forest
week, year
"The Weekly Israeli Chart – Week 3, 2024 ". Media Forest . Note : Click on "שירים מובילים - רדיו - בינלאומי" (Top Songs – Radio – International) to see the international chart.
Israelairplay (defunct)
246
Israel International Airplay
Media Forest
year, week
"Media Forest Week 3, 2024 ". Israeli Airplay Chart. Media Forest . {{dead link|date=November 2016}}
Italy
Italy
2556
Italy
FIMI
artist, song
"{artist} – {song} ". Top Digital Download .
ItalyFIMI
115
Italy
FIMI
year, week
"Singoli 3 2024 – Archivio classifiche settimanali ". Federazione Industria Musicale Italiana .
Japan
Billboardjapanhot100
910
Japan Hot 100
Billboard
artist
"{artist} Chart History (Japan Hot 100) ". Billboard .
Oricon → date<2021-03-15
85
Japan
Oricon
date [YYYY-MM-DD]
"Oricon Weekly Single Ranking – 2024-01-15 ". Oricon News . Archived from the original .
Oricon → date>=2021-03-15
date [YYYY-MM-DD]
"Oricon Weekly Single Ranking – 2024-01-15 ". Oricon News .
Oricon2
77
Japan
Oricon
artistid, songid
"Song on Oricon News ". Oricon News .
Kazakhstan
Kazakhstan
139
Kazakhstan Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Kazakhstan Weekly Chart ". TopHit .
Latvia
Latvia
29
Latvia Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Latvia Weekly Chart ". TopHit .
Lithuania
Lithuania
91
Lithuania Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Lithuania Weekly Chart ". TopHit .
Luxembourg
Luxembourgdigitalsongs (defunct)
76
Luxembourg Digital Song Sales
Billboard
artist
"{artist} Chart History (Luxembourg Digital Song Sales) ". Billboard . {{dead link|date=November 2021}}
Mexico
Mexico Anglo
66
Mexico Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 México Anglo música ". Monitor Latino.
Mexico ML
19
Mexico Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 México música ". Monitor Latino.
Moldova
Moldova
107
Moldova Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Moldova Weekly Chart ". TopHit .
Netherlands
Dutch100
9958
Netherlands
Single Top 100
artist, song
"{artist} – {song} " (in Dutch). Single Top 100 .
Dutch40 → year, week
6292
Netherlands
Dutch Top 40
year, week
"Nederlandse Top 40 – week 3, 2024 " (in Dutch). Dutch Top 40 .
Dutch40 → artist
artist
"Nederlandse Top 40 – {artist} " (in Dutch). Dutch Top 40 .
New Zealand
New Zealand
7140
New Zealand
Recorded Music NZ
artist, song
"{artist} – {song} ". Top 40 Singles .
Nicaragua
Nicaragua
12
Nicaragua Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Nicaragua música ". Monitor Latino.
Nicaragua Anglo
75
Nicaragua Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Nicaragua Anglo música ". Monitor Latino.
Norway
Norway → year, week
3652
Norway
VG-lista
year, week
"Topp 20 Single uke 3, 2024 – VG-lista. Offisielle hitlister fra og med 1958 " (in Norwegian). VG-lista .
Norway → artist, song
artist, song
"{artist} – {song} ". VG-lista .
Panama
Panama
22
Panama Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Panamá música ". Monitor Latino.
Panama Anglo
55
Panama Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Panamá Anglo música ". Monitor Latino.
Paraguay
Paraguay
37
Paraguay Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Paraguay música ". Monitor Latino.
Paraguay Anglo
50
Paraguay Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Paraguay Anglo música ". Monitor Latino.
Peru
Peru
21
Peru Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Perú música ". Monitor Latino.
Peru Anglo
58
Peru Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Perú Anglo música ". Monitor Latino.
Philippines
Philippines
99
Philippines Hot 100
Billboard Philippines
date [MM-DD-YYYY]
"Philippines Hot 100 – Week of January 15, 2024 ". Billboard Philippines .
Philippines Top Songs
7
Philippines Top Songs
Billboard Philippines
date [MM-DD-YYYY]
"Top Philippine Songs – Week of January 15, 2024 ". Billboard Philippines .
Poland
Poland (defunct)
1116
Poland Airplay
ZPAV
year, chartid
"Bestsellery i wyróżnienia - AirPlays - Top - Archiwum " (in Polish). ZPAV . Archived from the original . {{dead link|date=February 2025}}
Poland2
0
Poland Airplay
OLiS
date [DD.MM.YYYY]
"OLiS – oficjalna lista airplay " (in Polish). OLiS . Note : Change the date to 15.01.2024 under "zmień zakres od–do:".
Polishdance
325
Poland Dance
ZPAV
chartid
"Opłaty za muzykę - Muzyka w biznesie - Top - listy przebojów " (in Polish). ZPAV .
Portugal
Portugal
2119
Portugal
AFP
artist, song
"{artist} – {song} ". AFP Top 100 Singles .
Portugalairplay
52
Portugal Airplay
AFP
chartid
"TOP 100 - Lista ". Audiogest .
Portugaldigitalsongs (defunct)
66
Portugal Digital Song Sales
Billboard
artist
"{artist} Chart History (Portugal Digital Song Sales) ". Billboard . {{dead link|date=November 2021}}
Puerto Rico
Puerto Rico
17
Puerto Rico Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Puerto Rico música ". Monitor Latino.
Puerto Rico Anglo
41
Puerto Rico Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Puerto Rico Anglo música ". Monitor Latino.
Romania
Romaniaradioairplay
234
Romania Airplay
Media Forest
year, week
"Media Forest – Weekly Charts ". Media Forest . Note : Romanian and international positions are rendered together by the number of plays before resulting an overall chart.
Romaniatvairplay
152
Romania TV Airplay
Media Forest
year, week
"Media Forest – Weekly Charts ". Media Forest . Note : Select 'Songs – TV'. Romanian and international positions are rendered together by the number of plays before resulting an overall chart.
Russia
Russiaradio
634
Russia Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Russia Weekly Chart ". TopHit .
Slovakia
Slovakdigital (defunct) → year+week<=2016+34
381
Slovakia Singles Digital
ČNS IFPI
year, week
"ČNS IFPI " (in Czech). Hitparáda – Singles Digital Top 100 Oficiálna. IFPI Czech Republic. Note : Select SINGLES DIGITAL - TOP 100 and insert 20243 into search.
Slovakdigital (defunct) → year+week>2016+34
year, week
"ČNS IFPI " (in Czech). Hitparáda – Singles Digital Top 100 Oficiálna. IFPI Czech Republic. Note : Select SINGLES DIGITAL - TOP 100 and insert 20243 into search.
Slovakdigital2
1370
Slovakia Singles Digital
ČNS IFPI
week, year
"ČNS IFPI – SK Singles Digital – Top 100 – 3. týden 2024 " (in Czech). Hitparáda – Singles Digital Top 100 Oficiálna. IFPI Czech Republic.
Slovakia (defunct) → year+week<=2016+34
1185
Slovakia Airplay
ČNS IFPI
year, week
"ČNS IFPI " (in Czech). Hitparáda – Radio Top 100 Oficiálna. IFPI Czech Republic. Note : insert 20243 into search.
Slovakia (defunct) → year+week>2016+34
year, week
"ČNS IFPI " (in Czech). Hitparáda – Radio Top 100 Oficiálna. IFPI Czech Republic. Note : insert 20243 into search.
Slovakia2
935
Slovakia Airplay
ČNS IFPI
week, year
"ČNS IFPI – SK Radio – Top 100 – 3. týden 2024 " (in Czech). Hitparáda – Radio Top 100 Oficiálna. IFPI Czech Republic.
South Africa
South Africa (defunct)
150
South Africa
EMA
date [YYYY-MM-DD]
"EMA Top 10 Airplay: Week Ending 2024-01-15 ". Entertainment Monitoring Africa .
South Africa2 → year=2021
261
South Africa Streaming
TOSAC
year, week
"Local & International Streaming Chart Top 100 Week 3 ". The Official South African Charts .
South Africa2
week, year
"Local & International Streaming Chart Top 10 Week 3-2024 ". The Official South African Charts .
Spain
Spain
2283
Spain
Promusicae
artist, song
"{artist} – {song} ". Canciones Top 50 .
Sweden
Sweden
6345
Sweden
Sverigetopplistan
artist, song
"{artist} – {song} ". Singles Top 100 .
Switzerland
Swiss Romandy
50
Switzerland
Media Control Romandy
artist, song
"{artist} – {song} " (in French). Media Control .
Switzerland
8341
Switzerland
Schweizer Hitparade
artist, song
"{artist} – {song} ". Swiss Singles Chart .
Ukraine
Ukraineradio
519
Ukraine Airplay
TopHit
date [YYYYMMDD-YYYYMMDD]
"Top Radio Hits Ukraine Weekly Chart ". TopHit .
United Kingdom
Ireland4
1209
Ireland
IRMA
date [YYYYMMDD]
"Official Irish Singles Chart on 15/1/2024 – Top 50 ". Official Charts Company .
Scotland
7900
Scotland Singles
OCC
date [YYYYMMDD]
"Official Scottish Singles Sales Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UK
12649
UK Singles
OCC
date [YYYYMMDD]
"Official Singles Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UKZobbel
64
UK Singles
OCC
date [YYMMDD]
"Chart Log UK: 15.01.2011 ". UK singles chart . Zobbel.de.
UKafrobeats
87
UK Afrobeats
OCC
date [YYYYMMDD]
"Official Afrobeats Chart on 15/1/2024 – Top 20 ". Official Charts Company .
UKdance
1702
UK Dance
OCC
date [YYYYMMDD]
"Official Dance Singles Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKdownload
762
UK Singles Downloads
OCC
date [YYYYMMDD]
"Official Singles Downloads Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UKindependent
115
→ UKindie
UKindie
1269
UK Indie
OCC
date [YYYYMMDD]
"Official Independent Singles Chart on 15/1/2024 – Top 50 ". Official Charts Company .
UKphysical
13
UK Physical Singles
OCC
date [YYYYMMDD]
"Official Physical Singles Chart on 15/1/2024 ". Official Charts Company .
UKrandb
2585
UK Hip Hop/R&B
OCC
date [YYYYMMDD]
"Official Hip Hop and R&B Singles Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKrock
707
UK Rock & Metal
OCC
date [YYYYMMDD]
"Official Rock & Metal Singles Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKsinglesbyname → artistid
3954
UK Singles
OCC
artistid, artist
"{artist} Songs and Albums | Full Official Chart History ". Official Charts Company .
UKsinglesbyname → artist
artist
"Search results for "{artist}" | Official Chart ". Official Charts Company .
UKstreaming
181
UK Audio Streaming
OCC
date [YYYYMMDD]
"Official Audio Streaming Chart on 15/1/2024 – Top 100 ". Official Charts Company .
United States
Billboardadultalternativesongs
746
US Adult Alternative Airplay
Billboard
artist
"{artist} Chart History (Adult Alternative Airplay) ". Billboard .
Billboardadultcontemporary
3079
US Adult Contemporary
Billboard
artist
"{artist} Chart History (Adult Contemporary) ". Billboard .
Billboardadultpopsongs
2708
US Adult Pop Airplay
Billboard
artist
"{artist} Chart History (Adult Pop Songs) ". Billboard .
Billboardadultrandbsongs
293
US Adult R&B Songs
Billboard
artist
"{artist} Chart History (Adult R&B Songs) ". Billboard .
Billboardafrobeats
48
US Afrobeats Songs
Billboard
artist
"{artist} Chart History (Afrobeats Songs) ". Billboard .
Billboardalternativesongs
1903
US Alternative Airplay
Billboard
artist
"{artist} Chart History (Alternative Airplay) ". Billboard .
Billboardbubbling100
2331
US Bubbling Under Hot 100
Billboard
artist
"{artist} Chart History (Bubbling Under Hot 100) ". Billboard .
Billboardchristianairplay
239
US Christian Airplay
Billboard
artist
"{artist} Chart History (Christian Airplay) ". Billboard .
Billboardchristiansongs
416
US Hot Christian Songs
Billboard
artist
"{artist} Chart History (Hot Christian Songs) ". Billboard .
Billboardcountryairplay
1157
US Country Airplay
Billboard
artist
"{artist} Chart History (Country Airplay) ". Billboard .
Billboardcountrysongs
6203
US Hot Country Songs
Billboard
artist
"{artist} Chart History (Hot Country Songs) ". Billboard .
Billboarddanceairplay
944
US Dance/Mix Show Airplay
Billboard
artist
"{artist} Chart History (Dance Mix/Show Airplay) ". Billboard .
Billboarddanceclubplay
2565
US Dance Club Songs
Billboard
artist
"{artist} Chart History (Dance Club Songs) ". Billboard .
Billboarddanceelectronic
1099
US Hot Dance/Electronic Songs
Billboard
artist
"{artist} Chart History (Hot Dance/Electronic Songs) ". Billboard .
Billboarddancepop
59
US Hot Dance/Pop Songs
Billboard
artist
"{artist} Chart History (Hot Dance/Pop Songs) ". Billboard .
Billboarddancesales
905
US Dance Singles Sales
Billboard
artist
"{artist} Chart History (Dance Singles Sales) ". Billboard .
Billboarddigitalsongs
422
US Digital Song Sales
Billboard
artist
"{artist} Chart History (Digital Song Sales) ". Billboard .
Billboardhardrock
16
US Hot Hard Rock Songs
Billboard
artist
"{artist} Chart History (Hot Hard Rock Songs) ". Billboard .
Billboardhot100
13185
US Billboard Hot 100
—
artist
"{artist} Chart History (Hot 100) ". Billboard .
Billboardhotalternativesongs
5
US Hot Alternative Songs
Billboard
artist
"{artist} Chart History (Hot Alternative Songs) ". Billboard .
Billboardlatinairplay
537
US Latin Airplay
Billboard
artist
"{artist} Chart History (Latin Airplay) ". Billboard .
Billboardlatinpopsongs
640
US Latin Pop Airplay
Billboard
artist
"{artist} Chart History (Latin Pop Airplay) ". Billboard .
Billboardlatinpopsongs2
8
US Hot Latin Pop Songs
Billboard
artist
"{artist} Chart History (Hot Latin Pop Songs) ". Billboard .
Billboardlatinrhythm
291
US Latin Rhythm Airplay
Billboard
artist
"{artist} Chart History (Latin Rhythm Airplay) ". Billboard .
Billboardlatinrhythmsongs2
16
US Hot Latin Rhythm Songs
Billboard
artist
"{artist} Chart History (Hot Latin Rhythm Songs) ". Billboard .
Billboardlatinsongs
1294
US Hot Latin Songs
Billboard
artist
"{artist} Chart History (Hot Latin Songs) ". Billboard .
Billboardmainstreamrock
1991
US Mainstream Rock
Billboard
artist
"{artist} Chart History (Mainstream Rock) ". Billboard .
Billboardpopsongs
3779
US Pop Airplay
Billboard
artist
"{artist} Chart History (Pop Songs) ". Billboard .
Billboardradiosongs
281
US Radio Songs
Billboard
artist
"{artist} Chart History (Radio Songs) ". Billboard .
Billboardrandbhiphop
5933
US Hot R&B/Hip-Hop Songs
Billboard
artist
"{artist} Chart History (Hot R&B/Hip-Hop Songs) ". Billboard .
Billboardrandbhiphopairplay
503
US R&B/Hip-Hop Airplay
Billboard
artist
"{artist} Chart History (R&B/Hip-Hop Airplay) ". Billboard .
Billboardrandbsongs
8
US Hot R&B Songs
Billboard
artist
"{artist} Chart History (Hot R&B Songs) ". Billboard .
Billboardrapsongs
1277
US Hot Rap Songs
Billboard
artist
"{artist} Chart History (Hot Rap Songs) ". Billboard .
Billboardregionalmexican
91
US Regional Mexican Airplay
Billboard
artist
"{artist} Chart History (Regional Mexican Airplay) ". Billboard .
Billboardregionalmexicansongs
5
US Hot Regional Mexican Songs
Billboard
artist
"{artist} Chart History (Hot Regional Mexican Songs) ". Billboard .
Billboardrhythmic
3348
US Rhythmic Airplay
Billboard
artist
"{artist} Chart History (Rhythmic Airplay) ". Billboard .
Billboardrockairplay
929
US Rock & Alternative Airplay
Billboard
artist
"{artist} Chart History (Rock & Alternative Airplay) ". Billboard .
Billboardrocksongs
1866
US Hot Rock & Alternative Songs
Billboard
artist
"{artist} Chart History (Hot Rock & Alternative Songs) ". Billboard .
Billboardsinglessales (defunct)
11
US Hot Singles Sales
Billboard
artist
"{artist} Chart History (Hot Singles Sales) ". Billboard . {{dead link|date=November 2021}}
Billboardsmoothjazzsongs
25
US Smooth Jazz Airplay
Billboard
artist
"{artist} Chart History (Smooth Jazz Airplay) ". Billboard .
Billboardtropicalairplay
406
US Tropical Airplay
Billboard
artist
"{artist} Chart History (Tropical Airplay) ". Billboard .
Billboardtropicalsongs2
8
US Hot Tropical Songs
Billboard
artist
"{artist} Chart History (Hot Tropical Songs) ". Billboard .
Uruguay
Uruguay
24
Uruguay Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Uruguay música ". Monitor Latino.
Uruguay Anglo
52
Uruguay Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Uruguay Anglo música ". Monitor Latino.
Venezuela
Venezuela
4
Venezuela Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Venezuela música ". Monitor Latino.
Venezuela Anglo
51
Venezuela Anglo Airplay
Monitor Latino
date [YYYYMMDD]
"Top 20 Venezuela Anglo música ". Monitor Latino.
Data: Module:Music chart/album.json • Testcases: Template:Album chart/testcases
Album chart outputs
Group
Chart ID
Uses
Chart
Provider
Required params
Sample ref output
Argentina
Argentina (defunct)
40
Argentine Albums
CAPIF
artist, album, date [DD/MM/YYYY]
"{artist} – {album} ". Argentine Albums. CAPIF. Note : On Fecha , select 2024-01-15 to see the correspondent chart. {{dead link|date=April 2013}}
Australia
Australia
6595
Australian Albums
ARIA
artist, album
"Australiancharts.com – {artist} – {album} ". Hung Medien.
AustraliaMV → archivedate<2011
31
Australian Music DVD
ARIA
archivedate, archiveurl
"[{archiveurl} Top 40 DVD Chart - Australian Record Industry Association]". Australian Recording Industry Association . Archived from the original on {archivedate}.
AustraliaMV → archivedate<2016
archivedate, archiveurl
"[{archiveurl} ARIA Australian Top 40 Music DVDs]". Australian Recording Industry Association . Archived from the original on {archivedate}.
AustraliaMV → archivedate>=2016
archivedate, archiveurl
"[{archiveurl} ARIA Australian Top 40 Music DVDs]". Australian Recording Industry Association . Archived from the original on {archivedate}.
Austria
Austria
7259
Austrian Albums
Ö3 Austria
artist, album
"Austriancharts.at – {artist} – {album} " (in German). Hung Medien.
AustriaMV
40
Austrian Music DVD
Ö3 Austria
date [DD-MM-YYYY]
"Austria Top 40 – Musik-DVD: 15-01-2024 " (in German). Ö3 Austria Top 40 . Hung Medien.
Belgium
Flanders
8094
Belgian Albums
Ultratop Flanders
artist, album
"Ultratop.be – {artist} – {album} " (in Dutch). Hung Medien.
FlandersMV → date, year
33
Belgian Music DVD
Ultratop Flanders
date [YYYYMMDD] , year
"Ultratop Muziek-Dvd: 2024 – 15.01.2024 " (in Dutch). Ultratop.be. Hung Medien.
FlandersMV → artist, dvd
artist, dvd
"{artist} – Sample DVD [DVD] " (in Dutch). Ultratop.be. Hung Medien.
FlandersMV → artist, album
artist, album
"{artist} – {album} " (in Dutch). Ultratop.be. Hung Medien.
Wallonia
6854
Belgian Albums
Ultratop Wallonia
artist, album
"Ultratop.be – {artist} – {album} " (in French). Hung Medien.
WalloniaMV → date, year
30
Belgian Music DVD
Ultratop Wallonia
date [YYYYMMDD] , year
"Ultratop Dvd Musicaux: 2024 – 15.01.2024 " (in French). Ultratop.be. Hung Medien.
WalloniaMV → artist, dvd
artist, dvd
"{artist} – Sample DVD [DVD] " (in French). Ultratop.be. Hung Medien.
WalloniaMV → artist, album
artist, album
"{artist} – {album} " (in French). Ultratop.be. Hung Medien.
Brazil
Brazil
19
Brazilian Albums
ABPD
id
"ABPD CD - TOP 10 Semanal " (in Portuguese). Associação Brasileira dos Produtores de Discos .
Canada
BillboardCanada
4443
Canadian Albums
Billboard
artist
"{artist} Chart History (Canadian Albums) ". Billboard .
Canada
2704
Canada Top Albums/CDs
RPM
chartid
"Top RPM Albums: Image 12345 ". RPM . Library and Archives Canada .
Croatia
Croatia
106
Croatian International Albums
HDU
id
"Top Stranih [Top Foreign] " (in Croatian). Top Foreign Albums. Hrvatska diskografska udruga.
CroatiaCombined
24
Croatian Albums
HDU
id
"Top Kombiniranih [Top Combined] " (in Croatian). Top Combined Albums. Hrvatska diskografska udruga.
Czech Republic
Czech
1003
Czech Albums
ČNS IFPI
week, year
"ČNS IFPI – CZ Albums – Top 100 – 3. týden 2024 " (in Czech). ČNS IFPI .
Denmark
Denmark
2356
Danish Albums
Hitlisten
artist, album
"Danishcharts.dk – {artist} – {album} ". Hung Medien.
Denmark2
24
Danish Albums
Hitlisten
week, year
"Top 40 Albums - 3 / 2024 ". Tracklisten .
DenmarkMV
12
Danish Music DVD
Hitlisten
week, year
"Musik Video Top-10: Uge 3 – 2024 " (in Danish). Hitlisten.NU.
Finland
Finland
3453
Finnish Albums
Suomen virallinen lista
artist, album
"{artist}: {album} " (in Finnish). Musiikkituottajat – IFPI Finland .
FinlandMV
11
Finnish Music DVD
Suomen virallinen lista
artist, album
"{artist}: {album} " (in Finnish). Musiikkituottajat – IFPI Finland .
France
France
6098
French Albums
SNEP
artist, album
"Lescharts.com – {artist} – {album} ". Hung Medien.
FranceMV
30
French Music DVD
SNEP
id, artist, dvd
"{artist} – Sample DVD " (in French). Classement Officiel des ventes de DVD Musicaux. SNEP .
Germany
Germany
10814
German Albums
Offizielle Top 100
id, artist, album
"Offiziellecharts.de – {artist} – {album} " (in German). GfK Entertainment charts .
GermanyComp
29
German Compilation Albums
Offizielle Top 100
date [DD.MM.YYYY]
"Offizielle Deutsche Charts – Top 30 Compilation-Charts ". GfK Entertainment charts .
GermanyPop
4
German Pop Albums
Offizielle Top 100
id, artist, album
"Offiziellecharts.de – {artist} – {album} " (in German). GfK Entertainment charts .
Greece
Greece
221
Greek Albums
IFPI
artist, album
"Greekcharts.com – {artist} – {album} ". Hung Medien.
Hungary
Hungary
2410
Hungarian Albums
MAHASZ
year, week
"Album Top 40 slágerlista – 2024. 3. hét " (in Hungarian). MAHASZ .
HungaryComp
1
Hungarian Compilation Albums
MAHASZ
year, week
"Válogatás- és mixlemezek slágerlistája – 2024. 3. hét " (in Hungarian). MAHASZ .
Ireland
Ireland (defunct)
1392
Irish Albums
IRMA
year, week
"GFK Chart-Track Albums: Week 3, 2024 ". GfK Chart-Track . IRMA . Archived from the original .
Ireland2
2025
Irish Albums
IRMA
artist
"Irish-charts.com – Discography {artist} ". Hung Medien.
Ireland3
819
Irish Albums
OCC
date [YYYYMMDD]
"Official Irish Albums Chart on 15/1/2024 – Top 50 ". Official Charts Company .
IrelandClassical (defunct)
3
Irish Classical Albums
IRMA
year, week
"GFK Chart-Track – Classical Albums: Week 3, 2024 ". GfK Chart-Track . IRMA . Archived from the original .
IrelandComp (defunct)
12
Irish Compilation Albums
IRMA
year, week
"GFK Chart-Track – Multi-Artist Compilation Albums: Week 3, 2024 ". GfK Chart-Track . IRMA . Archived from the original .
IrelandIndependent (defunct)
38
Irish Independent Albums
IRMA
year, week
"GFK Chart-Track – Independent Albums: Week 3, 2024 ". GfK Chart-Track . IRMA . Archived from the original .
IrelandMV
0
Irish Music Videos
OCC
date [YYYYMMDD]
"Official Irish Video Chart on 15/1/2024 – Top 50 ". Official Charts Company .
Italy
Italy
3211
Italian Albums
FIMI
artist, album
"Italiancharts.com – {artist} – {album} ". Hung Medien.
ItalyMV
42
Italian Music DVD
FIMI
year, week, startdate, enddate
"DVD: Classifica settimanale WK 3 (dal 01/01/2024 al 07/01/2024) " (in Italian). Federazione Industria Musicale Italiana .
Japan
Oricon → date<2021-03-15
1606
Japanese Albums
Oricon
date [YYYY-MM-DD]
"Oricon Top 50 Albums: 2024-01-15 " (in Japanese). Oricon . Archived from the original .
Oricon → date>=2021-03-15
date [YYYY-MM-DD]
"Oricon Top 50 Albums: 2024-01-15 " (in Japanese). Oricon .
Mexico
Mexico
190
Mexican Albums
Top 100 Mexico
artist, album
"Mexicancharts.com – {artist} – {album} ". Hung Medien.
Mexico2 (defunct)
18
Mexican Albums
Top 100 Mexico
archiveurl, artist, album, archivedate
"[{archiveurl} {artist} – {album}]". Asociación Mexicana de Productores de Fonogramas y Videogramas . Archived from the original on {archivedate}.
Netherlands
Netherlands
8767
Dutch Albums
Album Top 100
artist, album
"Dutchcharts.nl – {artist} – {album} " (in Dutch). Hung Medien.
NetherlandsComp
18
Dutch Compilation Albums
Compilation Top 30
date, year, artist, album
"Dutchcharts.nl – {artist} – {album} ". Hung Medien.
NetherlandsMV → artist, dvd
50
Dutch Music DVD
MegaCharts
artist, dvd
"{artist} – Sample DVD [DVD] " (in Dutch). Dutchcharts.nl. Hung Medien.
NetherlandsMV → artist, album
artist, album
"{artist} – {album} " (in Dutch). Dutchcharts.nl. Hung Medien.
New Zealand
New Zealand
6013
New Zealand Albums
RMNZ
artist, album
"Charts.nz – {artist} – {album} ". Hung Medien.
Norway
Norway
5042
Norwegian Albums
VG-lista
artist, album
"Norwegiancharts.com – {artist} – {album} ". Hung Medien.
Poland
Poland
1410
Polish Albums
ZPAV
id
"Oficjalna lista sprzedaży :: OLiS - Official Retail Sales Chart ". OLiS . Polish Society of the Phonographic Industry .
Poland2
427
Polish Albums
ZPAV
date [DD.MM.YYYY-DD.MM.YYYY]
"OLiS - oficjalna lista sprzedaży - albumy " (in Polish). OLiS . Polish Society of the Phonographic Industry . Note : Change the date to 19.12.2025–25.12.2025 under "zmień zakres od–do:".
Portugal
Portugal
2004
Portuguese Albums
AFP
artist, album
"Portuguesecharts.com – {artist} – {album} ". Hung Medien.
Slovakia
Slovakia
6
Slovak Albums
ČNS IFPI
week, year
"ČNS IFPI – SK Albums – Top 100 – 3. týden 2024 " (in Czech). ČNS IFPI .
South Korea
Korea
136
South Korean Albums
Circle
date [YYYY.MM.DD-YYYY.MM.DD]
"South Korea Circle Album Chart ". Circle Chart . Note : On the page, select "2025.12.19–2025.12.25" to obtain the corresponding chart.
KoreaInt
105
South Korean International Albums
Circle
date [YYYY.MM.DD-YYYY.MM.DD]
"South Korea Circle International Album Chart ". Circle Chart . Note : On the page, select "2025.12.19–2025.12.25" to obtain the corresponding chart.
KoreaNat
0
South Korean National Albums
Circle
date [YYYY.MM.DD-YYYY.MM.DD]
"South Korea Circle National Album Chart ". Circle Chart . Note : On the page, select "2025.12.19–2025.12.25" to obtain the corresponding chart.
Spain
Spain
2956
Spanish Albums
Promusicae
artist, album
"Spanishcharts.com – {artist} – {album} ". Hung Medien.
SpainMV
29
Spanish Music DVD
Promusicae
year, week
"Weekly Charts - Promusicae ". Top 20 DVD Musical. Promusicae . Note : Select Category : DVD, Year : 2024, then find week 3 in the list.
Sweden
Sweden
6563
Swedish Albums
Sverigetopplistan
artist, album
"Swedishcharts.com – {artist} – {album} ". Hung Medien.
SwedenMV
39
Swedish Music DVD
Sverigetopplistan
year, week
"Veckolista DVD Album – Vecka 3, 2024 " (in Swedish). Sverigetopplistan .
Switzerland
Switzerland
9976
Swiss Albums
Schweizer Hitparade
artist, album
"Swisscharts.com – {artist} – {album} ". Hung Medien.
SwitzerlandMV
32
Swiss Music DVD
Schweizer Hitparade
date [DD-MM-YYYY]
"Schweizer Hitparade – Musik-DVD Top 10: 15.01.2024 ". Swiss Hitparade . Hung Medien.
United Kingdom
Scotland
8227
Scottish Albums
OCC
date [YYYYMMDD]
"Official Scottish Albums Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UK
1871
UK Albums
OCC
artist
"{artist} Songs and Albums | Full Official Chart History ". Official Charts Company .
UK2
10542
UK Albums
OCC
date [YYYYMMDD]
"Official Albums Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UKAmericana
256
UK Americana Albums
OCC
date [YYYYMMDD]
"Official Americana Albums Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKChristian
33
UK Christian & Gospel Albums
OCC
date [YYYYMMDD]
"Official Christian & Gospel Albums Chart on 15/1/2024 – Top 20 ". Official Charts Company .
UKComp
156
UK Compilation Albums
OCC
date [YYYYMMDD]
"Official Compilations Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UKCountry
349
UK Country Albums
OCC
date [YYYYMMDD]
"Official Country Artists Albums Chart on 15/1/2024 – Top 20 ". Official Charts Company .
UKDance
444
UK Dance Albums
OCC
date [YYYYMMDD]
"Official Dance Albums Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKDigital
1319
UK Album Downloads
OCC
date [YYYYMMDD]
"Official Album Downloads Chart on 15/1/2024 – Top 100 ". Official Charts Company .
UKIndependent
3032
UK Independent Albums
OCC
date [YYYYMMDD]
"Official Independent Albums Chart on 15/1/2024 – Top 50 ". Official Charts Company .
UKJazz
170
UK Jazz & Blues Albums
OCC
date [YYYYMMDD]
"Official Jazz & Blues Albums Chart on 15/1/2024 – Top 30 ". Official Charts Company .
UKMV
85
UK Music Videos
OCC
date [YYYYMMDD]
"Official Music Video Chart on 15/1/2024 – Top 50 ". Official Charts Company .
UKProgressive
64
UK Progressive Albums
OCC
date [YYYYMMDD]
"Official Progressive Albums Chart on 15/1/2024 – Top 30 ". Official Charts Company .
UKR&B
1367
UK R&B Albums
OCC
date [YYYYMMDD]
"Official R&B Albums Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKRock
1830
UK Rock & Metal Albums
OCC
date [YYYYMMDD]
"Official Rock & Metal Albums Chart on 15/1/2024 – Top 40 ". Official Charts Company .
UKSoundtrack
193
UK Soundtrack Albums
OCC
date [YYYYMMDD]
"Official Soundtrack Albums Chart on 15/1/2024 – Top 50 ". Official Charts Company .
UKZobbel
108
UK Albums
OCC
date [YYMMDD]
"Chart Log UK: 15.01.2011 ". UK Albums Chart . Zobbel.de.
United States
Billboard200
16742
US Billboard 200
—
artist
"{artist} Chart History (Billboard 200) ". Billboard .
BillboardAlbumSales
758
US Top Album Sales
Billboard
artist
"{artist} Chart History (Top Album Sales) ". Billboard .
BillboardAlternative
1298
US Top Alternative Albums
Billboard
artist
"{artist} Chart History (Top Alternative Albums) ". Billboard .
BillboardBluegrass
46
US Top Bluegrass Albums
Billboard
artist
"{artist} Chart History (Top Bluegrass Albums) ". Billboard .
BillboardBlues
105
US Top Blues Albums
Billboard
artist
"{artist} Chart History (Top Blues Albums) ". Billboard .
BillboardCatalog
245
US Top Catalog Albums
Billboard
artist
"{artist} Chart History (Top Catalog Albums) ". Billboard .
BillboardChristian
901
US Top Christian Albums
Billboard
artist
"{artist} Chart History (Christian Albums) ". Billboard .
BillboardClassical
118
US Top Classical Albums
Billboard
artist
"{artist} Chart History (Top Classical Albums) ". Billboard .
BillboardClassicalCrossover
16
US Top Classical Crossover Albums
Billboard
artist
"{artist} Chart History (Top Classical Crossover Albums) ". Billboard .
BillboardComedy
43
US Top Comedy Albums
Billboard
artist
"{artist} Chart History (Top Comedy Albums) ". Billboard .
BillboardContemporaryJazz
69
US Top Contemporary Jazz Albums
Billboard
artist
"{artist} Chart History (Top Contemporary Jazz Albums) ". Billboard .
BillboardCountry
2456
US Top Country Albums
Billboard
artist
"{artist} Chart History (Top Country Albums) ". Billboard .
BillboardCurrentAlbums (defunct)
141
US Top Current Album Sales
Billboard
artist
"{artist} Chart History (Top Current Album Sales) ". Billboard . {{dead link|date=March 2026}}
BillboardDanceElectronic
826
US Top Dance Albums
Billboard
artist
"{artist} Chart History (Top Dance/Electronic Albums) ". Billboard .
BillboardDigital (defunct)
317
US Digital Albums
Billboard
artist
"{artist} Chart History (Digital Albums) ". Billboard . {{dead link|date=October 2023}}
BillboardFolk
496
US Americana/Folk Albums
Billboard
artist
"{artist} Chart History (Top Americana/Folk Albums) ". Billboard .
BillboardGospel
163
US Top Gospel Albums
Billboard
artist
"{artist} Chart History (Top Gospel Albums) ". Billboard .
BillboardHardRock
865
US Top Hard Rock Albums
Billboard
artist
"{artist} Chart History (Top Hard Rock Albums) ". Billboard .
BillboardHeatseekers
2107
US Heatseekers Albums
Billboard
artist
"{artist} Chart History (Heatseekers Albums) ". Billboard .
BillboardHoliday
207
US Top Holiday Albums
Billboard
artist
"{artist} Chart History (Holiday Albums) ". Billboard .
BillboardIndependent
3424
US Independent Albums
Billboard
artist
"{artist} Chart History (Independent Albums) ". Billboard .
BillboardJazz
289
US Top Jazz Albums
Billboard
artist
"{artist} Chart History (Top Jazz Albums) ". Billboard .
BillboardLatin
683
US Top Latin Albums
Billboard
artist
"{artist} Chart History (Top Latin Albums) ". Billboard .
BillboardLatinPop
377
US Latin Pop Albums
Billboard
artist
"{artist} Chart History (Latin Pop Albums) ". Billboard .
BillboardLatinRhythm
132
US Latin Rhythm Albums
Billboard
artist
"{artist} Chart History (Latin Rhythm Albums) ". Billboard .
BillboardRandB
43
US Top R&B Albums
Billboard
artist
"{artist} Chart History (Top R&B Albums) ". Billboard .
BillboardRandBHipHop
4864
US Top R&B/Hip-Hop Albums
Billboard
artist
"{artist} Chart History (Top R&B/Hip-Hop Albums) ". Billboard .
BillboardRap
673
US Top Rap Albums
Billboard
artist
"{artist} Chart History (Top Rap Albums) ". Billboard .
BillboardReggae
83
US Reggae Albums
Billboard
artist
"{artist} Chart History (Reggae Albums) ". Billboard .
BillboardRegionalMexican
101
US Regional Mexican Albums
Billboard
artist
"{artist} Chart History (Regional Mexican Albums) ". Billboard .
BillboardRock
2758
US Top Rock Albums
Billboard
artist
"{artist} Chart History (Top Rock Albums) ". Billboard .
BillboardSoundtrack
282
US Soundtrack Albums
Billboard
artist
"{artist} Chart History (Soundtrack Albums) ". Billboard .
BillboardTastemaker
952
US Indie Store Album Sales
Billboard
artist
"{artist} Chart History (Top Tastemaker Albums) ". Billboard .
BillboardTropical
99
US Tropical Albums
Billboard
artist
"{artist} Chart History (Tropical Albums) ". Billboard .
BillboardVinyl
274
US Vinyl Albums
Billboard
artist
"{artist} Chart History (Vinyl Albums) ". Billboard .
BillboardWorld
348
US World Albums
Billboard
artist
"{artist} Chart History (World Albums) ". Billboard .
USMV (defunct)
29
US Music Video Sales
Billboard
artist
"{artist} Chart History (Music Video Sales) ". Billboard .
Data: Module:Music chart/year-end-single.json • Testcases: Template:Year-end single chart/testcases
Data: Module:Music chart/year-end-album.json • Testcases: Template:Year-end album chart/testcases
Architecture
JSON pages
Helpers for individual charts:
Template integration
Each template calls the module with a type parameter that determines which JSON page to load:
<!-- Template:Single chart -->
< includeonly >{{ #invoke : Music chart| main| type = single}}</ includeonly >
<!-- Template:Album chart -->
< includeonly >{{ #invoke : Music chart| main| type = album}}</ includeonly >
<!-- Template:Year-end single chart -->
< includeonly >{{ #invoke : Music chart| main| type = year-end-single}}</ includeonly >
<!-- Template:Year-end album chart -->
< includeonly >{{ #invoke : Music chart| main| type = year-end-album}}</ includeonly >
All arguments from template calls are passed automatically. For example:
{{ Single chart | Australia| 1| artist = Beyoncé| song = Halo| access-date = January 1, 2025}}
The module receives: 1=Australia, 2=1, artist=Beyoncé, song=Halo, access-date=January 1, 2025, type=single.
Output structure
The template produces two table cells and a reference:
| Chart Name (Provider)< ref name = "refname" > "[url url_title]". lang. ref. ref_note. Retrieved access-date.</ ref >
| style="text-align:center;"| Position
With rowheader=true:
! scope="row"| Chart Name (Provider)< ref > ...</ ref >
| style="text-align:center;"| Position
With note parameter:
| Chart Name (Provider)< ref > ...</ ref >< br > '' < small > Note text </ small > ''
| style="text-align:center;"| Position
Template parameters
Parameters passed to the template are used as placeholders in URL and title templates.
Common parameters
Parameter
Description
1 (chart)
Chart key (required). Must match a key in JSON data.
2 (position)
Peak position on the chart (required). Must be a number 1–200 or dash (–) for not charted.
3
Set to M for manual reference mode.
artist
Artist name.
song / album
Song or album title (depending on chart type).
year, week
Chart week identifiers. week accepts 1–53 or combined weeks like 51+52.
date
Chart date (format depends on chart).
songid, artistid, chartid, id
Numeric IDs for some charts.
url, title
For charts requiring user-provided URL.
access-date
Date when source was accessed.
publish-date
Publication date of the source (shown in reference for year-end charts).
archive-url, archive-date
Archive link and date for archived sources.
refname
Custom reference name (overrides auto-generated).
rowheader
Set to true to output chart name as row header.
note
Additional note displayed below chart name in small italic text.
refgroup
Reference group name for grouping footnotes (e.g., lower-alpha).
dvd
DVD/video title (alternative to album for music video charts).
Computed placeholders
Derived automatically from the date parameter. All formats work with any input date format (YYYY-MM-DD, YYYYMMDD, YYMMDD, DD-MM-YYYY, DD.MM.YYYY):
Placeholder
Output format
Example (any input → output)
{dateDigits}
YYYYMMDD (digits only)
20240115
{dateMDY}
Month Day, Year
January 15, 2024
{dateDMY}
DD.MM.YYYY
15.01.2024
{dateYMD}
YYYY-MM-DD
2024-01-15
{dateSlash}
D/M/YYYY (no leading zeros)
15/1/2024
{dateYear}
YYYY
2024
Manual reference mode
For special cases where automatic URL generation doesn't work, use manual mode by setting the third parameter to M:
{{ Single chart | Australia| 1| M
| url = https://example.com/custom-source
| title = Custom Source Title
| work = Billboard
| date = January 1, 2025
| access-date = January 5, 2025
}}
Manual mode:
Requires url and title parameters
Generates reference using {{ cite news }} format
Supports additional params: work, location, publisher, date, archive-url, archive-date, url-status
Uses same chart name and provider from JSON
Each JSON page contains chart definitions grouped by country/region. The structure is:
{
"_schema" : { ... },
"CountryGroup1" : {
"ChartKey1" : { ... },
"ChartKey2" : { ... }
},
"CountryGroup2" : {
"ChartKey3" : { ... }
}
}
Keys starting with _ (like _schema) are ignored by the module and can be used for documentation.
Basic chart entry
{
"Australia" : {
"Australia" : {
"chart" : "Australia" ,
"provider" : "[[ARIA Charts|ARIA]]" ,
"url" : "https://australian-charts.com/showitem.asp?interpret={artist}&titel={song}&cat=s" ,
"url_title" : "{artist} – {song}" ,
"ref" : "[[ARIA Charts|ARIA Top 50 Singles]]."
},
"AustraliaKent" : {
"chart" : "Australia" ,
"provider" : "[[Kent Music Report]]" ,
"ref" : "{{cite Kent|page={page}}}"
}
}
}
Note: If chart is omitted, the country group name is used as the chart name.
Core fields
Field
Required
Description
Example
chart
No
Display name for the chart. Defaults to country group name.
"Australia"
provider
No
Provider name shown in parentheses after chart name. Supports wikilinks.
"ARIA "
url
Yes*
URL template with {placeholders}. If starts with [, treated as pre-built wikilink.
"https://example.com/{artist} "
url_title
Yes*
Link title template. Combined with URL as "[url title]".
"{artist} – {song}"
ref
Yes*
Reference text shown after URL. Supports wikilinks and templates.
"ARIA Charts ."
lang
No
Language note inserted between URL and ref.
"(in German)" or "(in German) "
* At least ref is required. url and url_title are required for charts with links.
URL encoding
The encode field controls how text parameters ({artist}, {song}, {album}, {dvd}) are encoded in URLs. Other parameters (IDs, dates, numbers) are not affected. It's an array of operations applied in fixed order.
Operation
Description
Example
normalize
Remove diacritics (accents). Converts é→e, ñ→n, ü→u, etc. Use for sites like Billboard that don't support accented characters in URLs.
Céline → Celine
ansi
Latin-1 (ISO-8859-1) encoding instead of UTF-8. Encodes é as %E9 (single byte) instead of %C3%A9 (UTF-8). Use for legacy sites like Hung Medien.
Céline → C%E9line
lower
Convert to lowercase
The Beatles → the beatles
clean-symbols
Remove special characters. Keeps only letters (a-z, A-Z), numbers (0-9), and dashes (-). Spaces become dashes. Symbols between digits become dashes (e.g., 2.0 → 2-0).
20/20 Experience! → 20-20-experience
space-plus
Replace spaces with +, full URL encoding. This is the default — only specify explicitly in multiple entries when overriding a different chart-level space setting.
The Beatles → The+Beatles
space-dash
Replace spaces with -, encode only non-ASCII. Preserves ASCII symbols like $, '. Use for Billboard and similar sites.
A$AP Rocky → A$AP-Rocky
space-url
Replace spaces with %20 (standard URL encoding)
The Beatles → The%20Beatles
Order in array doesn't matter — operations are always applied in this sequence: normalize → lower → clean-symbols → space replacement → URL encoding.
Entry-level encode: The encode field can also be set in multiple entries to override the chart-level setting for specific URL variants.
Examples:
encode
Input
Output
(not specified)
The Beatles
The+Beatles
["ansi"]
Céline Dion
C%E9line+Dion
["space-dash"]
The Beatles
The-Beatles
["space-dash"]
A$AP Rocky
A$AP-Rocky
["space-url"]
The Beatles
The%20Beatles
["normalize", "space-dash"]
Céline Dion
Celine-Dion
["normalize", "lower", "clean-symbols", "space-dash"]
20/20 Experience!
20-20-experience
["ansi", "space-dash"]
Céline Dion
C%E9line-Dion
Date validation
The date_format field specifies expected date format. If provided, the module validates user input and shows error for invalid dates.
Format
Pattern
Example
YYYY-MM-DD
4-2-2 digits with dashes
2024-01-15
YYYYMMDD
8 digits
20240115
DD-MM-YYYY
2-2-4 digits with dashes
15-01-2024
MM-DD-YYYY
2-2-4 digits with dashes
01-15-2024
DD.MM.YYYY
2-2-4 digits with dots
15.01.2024
YYMMDD
6 digits
240115
DD.MM.YYYY–DD.MM.YYYY
Date range with dots
15.01.2024–21.01.2024
YYYY.MM.DD–YYYY.MM.DD
Date range with dots (Korean)
2024.01.15–2024.01.21
YYYYMMDD-YYYYMMDD
Date range
20240115-20240121
Date range separators: For date range formats, the module accepts en-dash (–), hyphen (-), and tilde (~) as separators. In the params column of showCharts output, all separators are displayed as hyphen for consistency.
Use date_format_alt to accept an alternative format.
Year and week validation
The module also validates year and week parameters when provided:
year must be exactly 4 digits (e.g., 2024)
week must be 1–2 digits (e.g., 1, 03, 52) or combined format like 51+52
If the parameter is used in URL construction (critical), an error is shown in red and the page is added to tracking category. If only used in reference text, a warning is shown in preview mode only.
Other fields
Field
Description
defunct
Set true for inactive charts or individual multiple variants. Adds tracking category and highlights the affected row in showCharts.
alias_for
Variant to another chart key. Entry should contain ONLY this field. Should gradually be replaced with the main ones and deleted.
ref_note
Note/instruction shown AFTER ref in standard mode, or as prefix in combine mode. Can be overridden in multiple entries.
ref_suffix
Text added AFTER "Retrieved date" in reference. Useful for additional notes that should appear at the very end.
refname_format
Custom ref name format with placeholders. Supports {param|default} syntax.
url_validation
Required substring in user-provided URL. Shows error "Invalid URL. Required domain: X." if missing.
track_param
Parameter name to track. Creates category if parameter is missing.
number_one_category
Category added when position equals 1.
category_conditions
Array of conditional categories. Each element: {"when": "condition", "category": "Category name"}. See Condition syntax . All matching conditions add their category.
doc_note
Documentation note shown in showCharts table (when notes=yes). Can be set at chart level or in individual multiple entries.
Note: Punctuation (periods) between reference parts is added automatically by the module. Do not include trailing periods in ref, ref_note, or ref_suffix values in JSON.
Multiple URL variants
For charts that have different URL structures depending on available parameters, use the multiple array:
{
"Denmark" : {
"chart" : "Denmark" ,
"provider" : "[[Hitlisten|Tracklisten]]" ,
"multiple" : [
{
"when" : "year, week" ,
"url" : "http://hitlisten.nu/default.asp?w={week}&y={year}&list=t40" ,
"url_title" : "Track Top-40 – Hitlisten.NU" ,
"lang" : "(in Danish)"
},
{
"when" : "artist, song" ,
"url" : "https://danishcharts.dk/showitem.asp?interpret={artist}&titel={song}&cat=s" ,
"url_title" : "{artist} – {song}"
}
],
"ref" : "[[Hitlisten|Tracklisten]]."
}
}
The module checks entries in order and uses the first one where when condition matches.
Condition syntax
Syntax
Meaning
Example
param
Parameter exists and is not empty
"when": "year"
!param
Parameter is missing or empty
"when": "!url"
param=value
Parameter equals specific value
"when": "type=remix"
param<value
Parameter is less than value (numeric)
"when": "year<1987"
param>value
Parameter is greater than value (numeric)
"when": "year>2000"
param<=value
Parameter is less than or equal (numeric)
"when": "year<=2002"
param>=value
Parameter is greater than or equal (numeric)
"when": "year>=2003"
date<value
Date/year is less than value
"when": "date<2021-07-01"
archivedate<value
Archive date/year is less than value
"when": "archivedate<2021-07-01"
year+week<=2016+34
Compact combined year/week or year/month comparison
"when": "year+week<=2016+34"
year..., week...
Adjacent same-operator year/week or year/month comparisons in one AND chain are also treated as one combined boundary
"when": "year>2016, week>34"
a, b
AND — all conditions must match
"when": "year, week"
a | b
OR — any condition must match
"when": "artist | song"
helper=value
Helper function returns specific value
"when": "helper=my_value"
(empty)
Default fallback — always matches
"when": ""
Notes:
Conditions are checked in order; first match wins (for multiple)
For category_conditions, ALL matching conditions add their categories
Numeric comparisons convert values to numbers; non-numeric values become 0
For date, archivedate, and archive-date, comparisons use full YYYY-MM-DD when the compared value is in ISO format; otherwise they compare by year
Compact comparisons like year+week<=2016+34 and year+month>=2023+7 are supported directly
Adjacent year+week and year+month comparisons inside one AND chain are also treated as combined comparisons when both parts use the same operator
The position parameter is available in category_conditions
Examples:
{ "when" : "date>2021-07-01" }
{ "when" : "archivedate<=2021-12-31" }
{ "when" : "year+week>2016+34" }
{ "when" : "year+week>2016+34, year+week<=2016+42" }
{ "when" : "year+month>=2023+7" }
These examples mean, respectively: after a full ISO date boundary, on/before an archive date boundary, after 2016 week 34, within the 2016w35-2016w42 range, and from July 2023 onward.
Entry overrides
Each entry in multiple can override these fields from the parent chart:
url, url_title, encode
ref, ref_note, lang
provider, chart
defunct
refname_format
date_format, date_format_alt
doc_note (for showCharts documentation)
Example: Different chart names by year
Some charts changed names over time. Use multiple with year conditions to override chart:
{
"Billboarddanceclubsongs" : {
"chart" : "US [[Dance Club Songs]]" ,
"provider" : "''[[Billboard (magazine)|Billboard]]''" ,
"url" : "https://www.billboard.com/artist/{artist}/chart-history/DSI" ,
"url_title" : "{artist} Chart History (Dance Club Songs)" ,
"ref" : "''[[Billboard (magazine)|Billboard]]''" ,
"encode" : [ "lower" , "space-dash" ],
"multiple" : [
{ "when" : "year<1987" , "chart" : "US [[Hot Dance Club Play]]" },
{ "when" : "year<2003" , "chart" : "US [[Hot Dance Music/Club Play]]" }
]
}
}
This outputs:
The module checks entries in order. If no when matches, it uses the parent chart's values.
Use ref_note in entries for conditional notes (e.g., instructions for old chart entries):
{
"Germany" : {
"chart" : "Germany" ,
"provider" : "[[GfK Entertainment charts|GfK]]" ,
"url" : "https://www.offiziellecharts.de/titel-details-{songid}" ,
"url_title" : "Offizielle Deutsche Charts" ,
"lang" : "(in German)" ,
"ref" : "[[GfK Entertainment charts]]" ,
"multiple" : [
{ "when" : "year<1977" , "ref_note" : "To see the peak chart position, click 'TITEL VON', followed by the artist's name" }
]
}
}
In showCharts table, conditional overrides are shown inline: [year<1977 → ref_note text]
Combine mode
Set "combine": true to include ALL matching entries as a bullet list in one reference:
{
"Finland" : {
"chart" : "Finland" ,
"provider" : "[[The Official Finnish Charts|Suomen virallinen lista]]" ,
"ref_note" : "The first is domestic singles, the second is foreign:" ,
"multiple" : [
{
"url" : "http://www.ifpi.fi/tilastot/myydyimmat/{year}/kotimaiset/singlet" ,
"url_title" : "Myydyimmät kotimaiset singlet vuonna {year}" ,
"lang" : "(in Finnish)"
},
{
"url" : "http://www.ifpi.fi/tilastot/myydyimmat/{year}/ulkomaiset/singlet" ,
"url_title" : "Myydyimmät ulkomaiset singlet vuonna {year}" ,
"lang" : "(in Finnish)"
}
],
"combine" : true ,
"ref" : "Musiikkituottajat – IFPI Finland."
}
}
Output reference will contain:
The first is domestic singles, the second is foreign:
* "[url1 title1]" (in Finnish). Musiikkituottajat – IFPI Finland. Retrieved January 1, 2025.
* "[url2 title2]" (in Finnish). Musiikkituottajat – IFPI Finland. Retrieved January 1, 2025.
Helper functions
Helpers are special Lua functions for dynamic URL generation. They're defined in the module and referenced by name in JSON.
Conditional categories
The category_conditions field allows adding categories based on parameter values. Unlike number_one_category (which only checks position=1), this supports complex conditions.
{
"UKsinglesdownloads" : {
"chart" : "UK [[UK Singles Downloads Chart|Singles Downloads]]" ,
"provider" : "[[Official Charts Company|OCC]]" ,
"category_conditions" : [
{ "when" : "position=1" , "category" : "UK Singles Downloads Chart number-one singles" }
],
"url" : "..." ,
"ref" : "..."
}
}
Multiple conditions can be specified — all matching conditions add their categories:
"category_conditions" : [
{ "when" : "position=1" , "category" : "Number-one singles" },
{ "when" : "position<=10" , "category" : "Top 10 singles" },
{ "when" : "year>=2020" , "category" : "2020s chart entries" }
]
The position parameter is available in conditions even though it's not a template parameter — it's extracted from the second positional argument.
Available helpers
Helper
Charts
Required params
Description
south_africa_size
single: Southafrica2
year, week
Returns chart size (10/20/50/100) based on year and week. Chart size changed multiple times: 2021-2022 → 100, 2023 w18+ → 10, 2025 w13+ → 50, etc.
australia_issue
single: Australiadance, Australiapandora, Australiaurban
url
Extracts issue number from pandora.nla.gov.au URL. Matches patterns like "Issue+123" or "issue%20456".
bulgaria_date_range
single: Bulgaria
url
Extracts and formats date range from bamp-bg.org URL. Converts "01012024-07012024.html" to "01.01.2024 – 07.01.2024".
czech_week_id
single: Czech Republic, Czechdigital, Slovakia, Slovakdigital; album: Czech, Slovakia
year, week
Returns weekId for ifpicr.cz URL. Looks up ID from Module:Music chart/chartdata-czech.json ; for future weeks beyond table, calculates based on newest entry. Weeks 51+52 share same ID.
germany_timestamp
album: GermanyComp
date
Converts DD.MM.YYYY to Unix timestamp in milliseconds for URL construction.
Using helpers in JSON
{
"Southafrica2" : {
"chart" : "South Africa" ,
"provider" : "[[The Official South African Charts|TOSAC]]" ,
"helper" : "south_africa_size" ,
"url" : "https://theofficialsacharts.co.za/chart/{year}/{week}/top-{helper}" ,
"url_title" : "Top {helper} – Week {week}, {year}" ,
"ref" : "[[The Official South African Charts]]."
}
}
The {helper} placeholder is replaced with the helper function's return value.
Adding new helpers
1. Add function in module:
function Helpers . your_helper_name ( args )
local year = tonumber ( args . year ) or 0
-- your logic here
return "result"
end
2. Register required parameters:
Helpers . params = {
your_helper_name = { "year" , "week" }, -- params won't be flagged as "unused"
-- ...
}
3. Use in JSON:
{
"helper" : "your_helper_name" ,
"url" : "https://example.com/{helper}"
}
Adding new charts
Step 1: Edit JSON page . Open the appropriate JSON page and add entry under country group:
"NewCountry" : {
"NewCountry" : {
"chart" : "New Country Singles" ,
"provider" : "[[New Chart Provider]]" ,
"url" : "https://example.com/chart?artist={artist}&song={song}" ,
"url_title" : "{artist} – {song}" ,
"ref" : "New Chart Provider."
}
}
Step 2: Verify . Use showCharts to verify:
{{ #invoke : Music chart| showCharts| type = single| country = NewCountry}}
Check that:
Required params are correctly detected
Sample output looks correct
No errors in output
Step 3: Add testcases . Add cases to the both proper parameters section and errors section.
Common patterns
Simple chart (artist + song):
"SimpleChart" : {
"chart" : "Simple Chart" ,
"provider" : "[[Provider]]" ,
"url" : "https://example.com/{artist}/{song}" ,
"url_title" : "{artist} – {song}" ,
"ref" : "Provider Name."
}
Chart with date:
"DateChart" : {
"chart" : "Date Chart" ,
"provider" : "[[Provider]]" ,
"date_format" : "YYYY-MM-DD" ,
"url" : "https://example.com/chart/{date}" ,
"url_title" : "Chart for {dateMDY}" ,
"ref" : "Provider Name."
}
Chart with year/week:
"WeekChart" : {
"chart" : "Week Chart" ,
"provider" : "[[Provider]]" ,
"url" : "https://example.com/{year}/week-{week}" ,
"url_title" : "Week {week}, {year}" ,
"ref" : "Provider Name."
}
Chart requiring user URL:
"ManualUrlChart" : {
"chart" : "Manual URL Chart" ,
"provider" : "[[Provider]]" ,
"url_validation" : "example.com" ,
"url" : "{url}" ,
"url_title" : "Chart Page" ,
"ref" : "Provider Name."
}
Defunct chart:
"OldChart" : {
"chart" : "Old Chart" ,
"provider" : "[[Provider]]" ,
"defunct" : true ,
"ref" : "Provider Name (defunct)."
}
Module configuration
The CONFIG table at the top of the module contains all settings.
Text output
months — month names array for {dateMDY} placeholder
type_names — display names for chart types
errors — error message templates
warnings — warning templates shown in preview mode
text — reference text templates
categories — tracking category templates
Position validation
max_position — maximum allowed numeric position (default: 200)
accepted_dashes — array of accepted dash characters for "not charted" position; en-dash (–) for enwiki, em-dash (—) for ruwiki, hyphen (-) as fallback. Example: {"–", "—", "-"}
Core settings
default_type — default chart type when not specified
json_path — path template to JSON data files, %s replaced with type
category_prefix — namespace prefix for categories
date_format_mdy — format string for {dateMDY} placeholder (%M = month name, %d = day, %Y = year)
ref_prefixes — prefixes for auto-generated refnames by type
error_display — where errors appear: "both" (cell and ref), "cell" only, or "ref" only
check_unknown_params — enable/disable tracking of unknown parameters (default: true)
check_unused_params — enable/disable tracking of unused parameters (default: true)
date_wrapper — optional template to reformat dates in references; set to nil to output as-is, or use parser function like {{#iferror:{{#time:j F Y|%s}}|%s}} to convert "2025-01-15" → "15 January 2025"
date_patterns — Lua patterns for validating date formats
param_aliases — alternative parameter names that map to canonical names
params — parameter validation groups:
base — always allowed
content — chart-specific
manual — only with |3=M mode
Unknown parameters trigger tracking category; add new valid params here to suppress warnings
showCharts settings
sort_order — sort order for groups and chart IDs: "abc" (alphabetical) or "keep" (preserve JSON order)
group_wrapper — optional template for country/group names, e.g. {{Country|%s}}; to exclude specific groups from wrapping, add [no wrap] to the group name in JSON
Reference prefixes
ref_prefixes maps chart types to their reference name prefixes:
single → "sc" (produces refs like sc_Australia_Beyoncé)
album → "ac" (produces refs like ac_Billboard200_Taylor Swift)
year-end-single and year-end-album → "ye" (produces refs like ye_US_2024)
Reference naming
Default reference name format: {prefix}_{chartkey}_{suffix}
Prefix: from ref_prefixes (sc, ac, ye)
Suffix: artist for weekly charts, year for year-end charts
Examples:
sc_Australia_Beyoncé
ac_Billboard200_Taylor Swift
ye_US_2024
Custom format via refname_format in JSON:
"refname_format" : "sc_Oricon2_{songid}"
"refname_format" : "sc_Finland_{artist}_{song|Airplay}"
The {param|default} syntax provides fallback if param is empty.
Entry points
main
Primary function called by templates. Processes all arguments and generates table row output.
{{ #invoke : Music chart| main| type = single}}
chartExists
Utility function to check if a chart key exists in the JSON data.
{{ #invoke : Music chart| chartExists| chart = Australia| type = single}}
Returns 1 if chart exists, 0 otherwise. Useful for conditional logic in templates.
showCharts
Generates a table showing all charts from JSON with sample outputs.
{{ #invoke : Music chart| showCharts| type = single}}
Output columns:
Column
Parameter (default)
Description
—
type (single)
Chart type: single, album, year-end-single, year-end-album
Group
country (all)
Filters to one country/region group
Chart ID
—
Chart key. Aliases in yellow, defunct in red, multiple entries show condition.
Uses
uses (yes)
Page count using this chart (links to category)
Chart
—
Display name of the chart
Provider
—
Chart provider name
Required params
params (yes)
Parameters needed, date format in brackets
#1 Category
number1 (no)
Category when position=1
Template call
template (no)
Copy-paste template call with detected parameters
Sample ref output
ref (yes)
Generated reference with sample values
Note
notes (no)
Shows doc_note from JSON. Consecutive identical notes are merged with rowspan.
—
splitdvd (no)
When yes, charts ending with "MV" (Music DVD) are output in a separate table below the main table.
Example with all parameters:
{{ #invoke : Music chart| showCharts| type = single| country = Australia| uses = yes| params = yes| number1 = yes| template = 1| ref = yes| notes = yes| splitdvd = yes}}
Notes column: When notes=yes, displays doc_note field from JSON for each chart. For charts with multiple entries, each entry can have its own doc_note that overrides the chart-level note. Consecutive rows with identical notes are automatically merged using rowspan.
Output includes links to JSON data page and template testcases page.
Error handling
Validation checks
The module performs these validations:
Missing chart key — Error if first parameter is empty
Missing position — Error if second parameter is empty
Unknown chart — Error if chart key not found in JSON
Invalid position — Error if position is not a number 1–200 or accepted dash
Missing required parameters — Error if placeholders in URL/title can't be filled
Invalid date format — Error if date doesn't match expected format (when date_format specified)
Invalid year format — Error if year is not exactly 4 digits
Invalid week format — Error if week is not 1–2 digits (or combined like "51+52")
Manual mode missing URL/title — Error if 3=M is used without both url and title
URL validation — Error if user URL doesn't contain required substring (when url_validation specified)
Unsubstituted placeholders — Error if output still contains {placeholder} patterns
Error display
Errors appear as red text. The error_display config controls where:
"both" — Show in both table cell and reference
"cell" — Show only in table cell
"ref" — Show only in reference
Warnings (preview only)
Some issues show orange warnings only in preview mode (not on saved pages):
Warning
When shown
Unknown parameters
Parameters provided but not recognized by the module
Unused parameters
Parameters provided but not used by chart
Invalid date (ref only)
Date format invalid, but date only used in reference text (not URL)
Invalid year/week (ref only)
Year/week format invalid, but only used in reference text (not URL)
Detection uses {{REVISIONID}} — empty in preview, has value on saved pages.
If date is used in URL, invalid format shows as red error on all pages.
Tracking categories
Categories are added for various conditions:
Category pattern
When added
{Type} chart usages for {ChartKey}
Always (for usage tracking)
{Type} chart used with missing parameters
Required params missing
{Type} chart used with unknown chart
Chart key not found
{Type} chart with invalid position
Position is not a valid number (1–200) or accepted dash
Pages using {type} chart with unknown parameters
Unknown params provided
{Type} chart with unused parameters
Params provided but not used
{Type} chart with unsubstituted parameters
Raw {{{param}}} or {placeholder} remains in output
{Type} chart called without artist
Artist param missing
{Type} chart called without song
Song param missing (single charts)
{Type} chart called without album
Album or dvd param missing (album charts)
{Type} chart used with defunct chart
Chart marked as defunct
{Type} chart making named ref
Custom refname provided
{Type} chart using manual ref mode
Manual mode (3=M) used
{Type} chart with manual mode missing url or title
Manual mode used without url or title
{Type} chart {ChartKey} without {Param} parameter
Chart-specific tracked parameter missing
Categories are only added in main namespace (ns=0, articles). They are suppressed in all other namespaces including Template, User, and Talk pages.