Difference between revisions of "Template:BillboardURLbyName/testcases"
imported>Starcheerspeaksnewslostwars |
imported>Colin M (Add sandbox test case for bio=true) |
||
| Line 6: | Line 6: | ||
<code><nowiki>{{BillboardURLbyName/sandbox|artist=Michael Jackson}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Michael Jackson}} | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Michael Jackson}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Michael Jackson}} | ||
| + | |||
| + | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Michael Jackson|bio=true}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Michael Jackson|bio=true}} | ||
<code><nowiki>{{BillboardURLbyName/sandbox|artist=Michael Jackson|chart=Hot 100}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Michael Jackson|chart=Hot 100}} | <code><nowiki>{{BillboardURLbyName/sandbox|artist=Michael Jackson|chart=Hot 100}}</nowiki></code>: {{BillboardURLbyName/sandbox|artist=Michael Jackson|chart=Hot 100}} | ||
Revision as of 22:40, 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 [Doesn't work the way it should]
{{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/