Template:BillboardURLbyName/sandbox
This is the template sandbox page for Template:BillboardURLbyName (diff). See also the companion subpage for test cases. |
This template returns a billboard.com URL for an artist's history on a particular chart.
Contents
Examples
Script error: No such module "aligned table".
Usage
This template is normally used within citations, e.g.
Markup | Renders as |
---|---|
It reached no. 2 on the Billboard Modern Rock Tracks chart.<ref>{{cite web | url={{BillboardURLbyName|artist=the breeders|chart=alternative songs}} | title=The Breeders Chart History | accessdate=2007-07-31 | work=[[Billboard (magazine)|Billboard]]}}</ref> |
It reached no. 2 on the Billboard Alternative Songs chart.[1] |
- ↑ "The Breeders Chart History". Billboard. Retrieved 2007-07-31.
Notes
The artist name used by Billboard may not match Wikipedia's naming. Be especially mindful of artists whose names contain special characters. For example, an article about a song by P!nk needs to use {{BillboardURLbyName|artist=pnk|chart=Hot 100}}
to match Billboard's url scheme. Billboard is also inconsistent about the use of a leading "The" in a band's name. For this reason, it's usually a good idea to test any urls generated by this template before adding them to an article.
TemplateData
Generates billboard.com URLs for the chart history of a given artist.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Artist name | artist | The name of the artist, as it appears in billboard.com URLs
| String | required |
Chart name | chart | The name of the Billboard chart
| String | suggested |
Bio | bio | Deprecated. No effect. | String | deprecated |
See also
The above documentation is transcluded from Template:BillboardURLbyName/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |