跳转到内容

Template:BillboardID/doc

维基百科,自由的百科全书

Billboard magazine indexes the artists on their website by a number called the artist ID. Each individual artist has a single identification number through which all chart history can be tracked form inside and outside the website. This template is used to support {{singlechart}}, {{albumchart}}, and {{BillboardURLbyName}}.

Internally, it uses forty subtemplates, split by the first character of the artist's name. This prevents the system from needing to load the entire translation table every time the system.

The following template compiles the artists and their respective IDs, and provides the ID when called with a supported artist's name. It is a reasonably complete list (as of 11 February 2012 it includes over 30,000 artists) and anyone can help adding or asking missing IDs to it.

Usage

[编辑]

Copy and paste one of the following onto the {{Singlechart}} or {{Albumchart}} templates when calling a Billboard chart, replacing Artistname with the artist whom chart history you are consulting:

  • {{BillboardID|Artistname}}
  • {{BillboardID|}}

Alternately, it can also be written:

  • {{BBID|Artistname}}
  • {{BBID|}}

Example

[编辑]

The template might be used the following way: On the {{Singlechart}} or {{Albumchart}}, when calling Billboard charts, do the next:

  • Usually, those templates might be called as this:
  • {{albumchart|Billboard200|10|artist=Gotye|artistid=619936|accessdate=2 June 2012}}
  • {{singlechart|Billboardhot100|1|artist=Gotye|artistid=619936|accessdate=2 June 2012}}
  • Instead, using this template, it might be called as this:
  • {{albumchart|Billboard200|10|artist=Gotye|artistid={{BillboardID|Gotye}}|accessdate=2 June 2012}}
  • {{singlechart|Billboardhot100|1|artist=Gotye|artistid={{BillboardID|Gotye}}|accessdate=2 June 2012}}
  • As an example (using the template):
Chart Peak
position
美国(Billboard Hot 100[1] 1
Chart Peak
position
美国(《告示牌》200[2] 10
  1. ^ "Gotye Chart History (Hot 100)". Billboard. [2 June 2012].(英語).
  2. ^ "Gotye Chart History (Billboard 200)". Billboard. Retrieved 2 June 2012.

What if it doesn't work?

[编辑]

The usual problem is going to be that you didn't match the artist name on Billboard. Billboard is picky! "Selena Gomez & the Scene" is not the same as "Selena Gomez and the Scene". "Ana Belén" and "Ana Belen" are not the same. So, double check your name.


If that doesn't help, the problem probably lies in {{BillboardID}}. Fixing it is simple:

  1. Go find your artist's list of charts on Billboard.
  2. Look at the URL. Again, looking at https://www.billboard.com/artist/shakira/chart-history/hot-100 you will see that big number:278867. That's the magic number we need.
  3. Edit the appropriate child of {{BillboardID}}. For Shakira, that's {{BillboardID/S}}, because "Shakira" begins with an "S".
  4. Insert the line. Again, using Shakira as an example, it's
    |shakira = 278867
    Pay attention to the case. It has to be lower case inside the template.
  5. Now try again. Please doublecheck a few artists' articles that begin with the same letter and make sure you didn't break them. You can easily break hundreds of articles by inserting an error in the BillboardID templates, so be careful.

If you can't figure it out, drop a note at Template talk:BillboardID, and someone will come help.

Maintenance categories

[编辑]

To help maintain music articles, this template will automatically categorize articles that call it based on the parameters used in the reference.

BillboardID category

[编辑]

收藏飲食服裝交通體育娛樂旅遊游戏嗜好工具音乐舞蹈电影戏剧电视摄影繪畫雕塑手工艺家庭文明文物節日虛構符號次文化動畫漫畫

世界各地

亞洲非洲大洋洲北美洲南美洲歐洲南极洲

中國歷史中國神話中國音樂 - 中國戏曲中華民俗 - 中國文學中文古典典籍中國武術中醫中国画書法佛教道教生肖

哲學文学艺术语言学歷史學地理学心理學社會學政治學法學軍事學传播学新闻学考古學人類學民族学教育學圖書資訊科學經濟學人口学家政学管理學性學

文化歷史語言宗教教育家庭組織族群經濟政治政府國家傳統產業媒體体育安全法律犯罪獎勵城市

生物動物植物氣象學季節化學元素礦物地理数学物理學力學化學天文學星座地球科學地質學生物學醫學藥學农学資訊科學系统科学密碼學

各國宗教宗教人物宗教史宗教建筑宗教節日宗教哲學宗教場所宗教學宗教組織神祇神话神學

交通建筑学土木工程电气工程计算机科学机械工程能源科学测绘学航空航天礦業冶金学印刷化學工程水利工程通信技術生物工程材料科学環境科學

历史年表历法列表化学品列表生物分類總表電腦相關列表世界体育竞赛列表国旗列表各国执政党列表国际组织列表世界民族列表世界遺產列表山脈列表中国年号列表中华人民共和国县级以上行政区列表世界地理索引语言列表

主題是為對某一領域感興趣的用户提供的首頁 政治历史軍事人物语言学經濟學世界遗产藝術音乐动漫哲学電視電影宗教基督教佛教猶太教体育运动足球地理学中国日本德国臺灣宜蘭- 香港澳門湖南广东廣州北京上海南京西安蘇州天文学火星数学物理化学生物心理学电脑技术电子游戏地铁软件自由軟體荷兰中华人民共和国三国福建航天日食海军南非

contains all articles that make use of the template.

See also

[编辑]