模板: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
美国(《告示牌百大单曲榜[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