Difference between revisions of "Template:BillboardURLbyName/testcases"
imported>Colin M (Add sandbox test case for bio=true) |
imported>Colin M m (→testcases}}/sandbox|Sandbox version: Clarify difference in behaviour according to chart case) |
||
| Line 17: | Line 17: | ||
<code><nowiki>{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=dance club play songs}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=dance club play songs}} [Works] | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=dance club play songs}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=dance club play songs}} [Works] | ||
| − | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=Dance Club Play Songs}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=Dance Club Play Songs}} [ | + | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=Dance Club Play Songs}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=Dance Club Play Songs}} [Basically works. Same content as above, though dropdown misleadingly shows "Hot 100" instead of "Dance Club Songs"] |
<code><nowiki>{{BillboardURLbyName/sandbox|artist=Aless|chart=all}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Aless|chart=all}} | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Aless|chart=all}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Aless|chart=all}} | ||
Latest revision as of 23:00, 25 January 2019
| This is the template test cases page for the sandbox of Template:BillboardURLbyName. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Sandbox version
https://www.billboard.com/music/{{{artist}}}
{{BillboardURLbyName/sandbox|artist=Michael Jackson}}: https://www.billboard.com/music/michael-jackson
{{BillboardURLbyName/sandbox|artist=Michael Jackson|bio=true}}: https://www.billboard.com/music/michael-jackson
{{BillboardURLbyName/sandbox|artist=Michael Jackson|chart=Hot 100}}: https://www.billboard.com/music/michael-jackson/chart-history/hot-100
{{BillboardURLbyName/sandbox|artist=Ani DiFranco|chart=all}}: https://www.billboard.com/music/ani-difranco/chart-history/
{{BillboardURLbyName/sandbox|artist=Ani DiFranco|chart=Billboard 200}}: https://www.billboard.com/music/ani-difranco/chart-history/billboard-200
{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=dance club play songs}}: https://www.billboard.com/music/jennifer-lopez/chart-history/dance-club-play-songs [Works]
{{BillboardURLbyName/sandbox|artist=Jennifer Lopez|chart=Dance Club Play Songs}}: https://www.billboard.com/music/jennifer-lopez/chart-history/dance-club-play-songs [Basically works. Same content as above, though dropdown misleadingly shows "Hot 100" instead of "Dance Club Songs"]
{{BillboardURLbyName/sandbox|artist=Aless|chart=all}}: https://www.billboard.com/music/aless/chart-history/
Code produced for invalid artist: https://www.billboard.com/music/aless/chart-history/
Main template
https://www.billboard.com/music/{{{artist}}}
{{BillboardURLbyName|artist=Michael Jackson}}: https://www.billboard.com/music/michael-jackson
{{BillboardURLbyName|artist=Michael Jackson|bio=true}}: https://www.billboard.com/music/michael-jackson
{{BillboardURLbyName|artist=Ani DiFranco|chart=all}}: https://www.billboard.com/music/ani-difranco/chart-history/
{{BillboardURLbyName|artist=Ani DiFranco|chart=Hot 100}}: https://www.billboard.com/music/ani-difranco/chart-history/hot-100
{{BillboardURLbyName|artist=Aless|chart=all}}: https://www.billboard.com/music/aless/chart-history/
Code produced for invalid artist: https://www.billboard.com/music/aless/chart-history/