Template:BillboardURLbyName
This template returns a billboard.com URL for an artist's history on a particular chart.
例
[編輯]Code | Output | Comments |
{{BillboardURLbyName|artist=Carly Rae Jepsen|chart=Hot 100}} | http://www.billboard.com/artist/298709/Carly+Rae+Jepsen/chart?f=379 | |
{{BillboardURLbyName|artist=Carly Rae Jepsen|chart=Top Album Sales}} | http://www.billboard.com/artist/298709/Carly+Rae+Jepsen/chart?f=Invalid chart name entered Top Album Sales | |
{{BillboardURLbyName|artist=carly rae jepsen|chart=top album sales}} | http://www.billboard.com/artist/298709/carly+rae+jepsen/chart?f=Invalid chart name entered top album sales | Equivalent to above. Artist and chart are case insensitive. |
{{BillboardURLbyName|artist=Carly Rae Jepsen|chart=all}} | http://www.billboard.com/artist/298709/Carly+Rae+Jepsen/chart | chart=all links to Billboard's "main" chart for the given artist (in this case, the Hot 100).
|
{{BillboardURLbyName|artist=Carly Rae Jepsen}} | http://www.billboard.com/artist/298709/Carly+Rae+Jepsen/chart?f=Invalid chart name entered {{{chart}}} | Billboard's landing page for this artist, including their chart history, and recent news and videos relating to the artist. Content at this URL is liable to drift over time. Not recommended. |
用法
[編輯]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 |access-date=2007-07-31 | work=[[Billboard (magazine)|Billboard]]}}</ref> |
It reached no. 2 on the Billboard Alternative Songs chart.[1]
|
- ↑ Invalid chart name entered alternative songs "The Breeders Chart History". Billboard. 喺2007-07-31搵到.
{{cite web}}
: Check|url=
value (help)
註
[編輯]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.
模數據
[編輯]Generates billboard.com URLs for the chart history of a given artist.
參數 | 描述 | 類 | 狀態 | |
---|---|---|---|---|
Artist name | artist | The name of the artist, as it appears in billboard.com URLs
| 字串 | 必填 |
Chart name | chart | The name of the Billboard chart
| 字串 | 建議 |
bio | bio | Deprecated. No effect. | 字串 | 停用 |
上面嘅解係穿透包含咗自Template:BillboardURLbyName/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |