Template:Single chart: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 177: Line 177:
|Switzerland={{!}}Switzerland (Schweizer Hitparade){{#tag:ref|"[http://swisscharts.com/showitem.asp?interpret={{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{artist}}}|&|%26}}|space=+}}&titel={{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{song}}}|&|%26}}|space=+}}&cat=s Swisscharts.com – {{{artist}}} – {{{song}}}"]. [[w:Swiss Hitparade|Swiss Singles Chart]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|Switzerland={{!}}Switzerland (Schweizer Hitparade){{#tag:ref|"[http://swisscharts.com/showitem.asp?interpret={{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{artist}}}|&|%26}}|space=+}}&titel={{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{song}}}|&|%26}}|space=+}}&cat=s Swisscharts.com – {{{artist}}} – {{{song}}}"]. [[w:Swiss Hitparade|Swiss Singles Chart]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKrandb={{!}}{{#if:{{{date|}}}|[[w:UK R&B Chart{{!}}UK R&B]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK R&B CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/r-and-b-singles-chart/{{digits|{{{date}}}}}/114/ "Official R&B Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKrandb={{!}}{{#if:{{{date|}}}|UK R&B (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK R&B CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/r-and-b-singles-chart/{{digits|{{{date}}}}}/114/ "Official R&B Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|Swiss Romandy
|Swiss Romandy
Line 184: Line 184:
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKrock
|UKrock
|UKrockandmetal={{!}}{{#if:{{{date|}}}|[[w:UK Rock Chart{{!}}UK Rock and Metal]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK ROCK CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/rock-and-metal-singles-chart/{{digits|{{{date}}}}}/111/ "Official Rock & Metal Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKrockandmetal={{!}}{{#if:{{{date|}}}|UK Rock and Metal (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK ROCK CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/rock-and-metal-singles-chart/{{digits|{{{date}}}}}/111/ "Official Rock & Metal Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKindie
|UKindie
|UKindependent={{!}}{{#if:{{{date|}}}|[[w:UK Indie Chart{{!}}UK Indie]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK INDIE CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/independent-singles-chart/{{digits|{{{date}}}}}/130/ "Official Independent Singles Chart Top 50"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKindependent={{!}}{{#if:{{{date|}}}|UK Indie (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK INDIE CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/independent-singles-chart/{{digits|{{{date}}}}}/130/ "Official Independent Singles Chart Top 50"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKstreaming={{!}}{{#if:{{{date|}}}|[[w:UK Streaming Chart|UK Streaming]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK STREAMING CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/audio-streaming-chart/{{digits|{{{date}}}}}/7507/ "Official Audio Streaming Chart Top 100"]. [[w:Official Charts Company|Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKstreaming={{!}}{{#if:{{{date|}}}|[[w:UK Streaming Chart|UK Streaming]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK STREAMING CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/audio-streaming-chart/{{digits|{{{date}}}}}/7507/ "Official Audio Streaming Chart Top 100"]. [[w:Official Charts Company|Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|United Kingdom
|United Kingdom
|UK={{!}}{{#if:{{{date|}}}|[[w:UK Singles Chart{{!}}UK Singles]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/singles-chart/{{digits|{{{date}}}}}/7501/ "Official Singles Chart Top 100"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UK={{!}}{{#if:{{{date|}}}|UK Singles (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/singles-chart/{{digits|{{{date}}}}}/7501/ "Official Singles Chart Top 100"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKdance={{!}}{{#if:{{{date|}}}|[[w:UK Dance Chart{{!}}UK Dance]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK DANCE CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/dance-singles-chart/{{digits|{{{date}}}}}/104/ "Official Dance Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKdance={{!}}{{#if:{{{date|}}}|UK Dance (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK DANCE CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/dance-singles-chart/{{digits|{{{date}}}}}/104/ "Official Dance Singles Chart Top 40"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKdownload={{!}}{{#if:{{{date|}}}|[[w:UK Singles Downloads Chart{{!}}UK Download]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK DOWNLOAD CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/singles-downloads-chart/{{digits|{{{date}}}}}/7000/ "Official Singles Downloads Chart Top 100"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKdownload={{!}}{{#if:{{{date|}}}|[[w:UK Singles Downloads Chart{{!}}UK Download]] (Official Charts Company)|{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK DOWNLOAD CHART</span>}}{{#tag:ref|[https://www.officialcharts.com/charts/singles-downloads-chart/{{digits|{{{date}}}}}/7000/ "Official Singles Downloads Chart Top 100"]. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
|UKsinglesbyname
|UKsinglesbyname
|UKchartstats={{!}}{{#if:{{{artist|}}}|[[w:UK Singles Chart{{!}}UK Singles]] (Official Charts Company){{#tag:ref|{{#if:{{{artistid|}}}|[https://www.officialcharts.com/artist/{{{artistid}}}/{{urlencode:{{{artist}}}|PATH}} "{{{artist}}}: Artist Chart History"]|[https://www.officialcharts.com/search/artists/{{urlencode:{{{artist}}}|PATH}} "{{{artist}}}: Artist Chart History"]}}. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}}|<span style="color:red;">artist is MANDATORY FOR UKsinglesbyname</span>{{main other|[[Category:Singlechart used with missing parameters]]}}}} {{Single chart/chartnote|{{{note|}}}}}
|UKchartstats={{!}}{{#if:{{{artist|}}}|UK Singles (Official Charts Company){{#tag:ref|{{#if:{{{artistid|}}}|[https://www.officialcharts.com/artist/{{{artistid}}}/{{urlencode:{{{artist}}}|PATH}} "{{{artist}}}: Artist Chart History"]|[https://www.officialcharts.com/search/artists/{{urlencode:{{{artist}}}|PATH}} "{{{artist}}}: Artist Chart History"]}}. [[w:Official Charts Company]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}}|<span style="color:red;">artist is MANDATORY FOR UKsinglesbyname</span>{{main other|[[Category:Singlechart used with missing parameters]]}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}{{#ifexpr:{{{2}}}>100|{{main other|[[Category:singlechart used with UKchartstats that cannot be substituted]]}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}{{#ifexpr:{{{2}}}>100|{{main other|[[Category:singlechart used with UKchartstats that cannot be substituted]]}}}}
| UKZobble<!-- Correct spelling is "Zobbel" -->
| UKZobble<!-- Correct spelling is "Zobbel" -->

Revision as of 19:08, 15 April 2020

Template documentation[create]