20-05-2023
Шаблон Singleschart2 - облегченный вариант шаблона Singleschart, взятого из английской Википедии для удобства создания и перевода статей о музыкальных релизах (синглы).
При помощи шаблона генерируется таблица музыкальных чартов с указанием чарта, ссылки на релиз, мечта в чарте; сноска на источник (чарт) появляется в разделе Примечания.
Содержание |
Шаблон используется для отображения позиции в определённом чарте музыкального сингла, с автоматическим формированием ссылки на источник. Шаблоны должн быть вставлены в таблицу.
Заготовка для копирования (все параметры) | ||
---|---|---|
для любых чартов обязательными являются параметры назания чарта и места. Остальные параметры имогут являться обязательными в зависимости от того или иного чарта. Рекомендуется всегда заполнять параметры "song=" и "artist=". Параметр artist используется по умолчанию для именования сноски, если она используется где-то ещё в статье.
|
The parameters publishdate, accessdate, and refname are optional. Whether the other parameters are required or not depend on the chart being referenced. See the tables in the Support section below.
note=extended dance mix
, or {{singlechart2|Australia|1|song=I'm the Urban Spaceman|artist=The Bonzo Dog Doo Dah Band|note=uncensored version}}
.The template's expansion results in two output items:
The output row includes the piping character to divide the left cell from the right cell. The left cell includes the country and/or chart name, with wikilinks to the chart article(s), as well as the reference note[n] as if it were enclosed in <ref></ref>
tags. Any note included with the note parameter is shown in the left cell as well. The right cell contains the peak position number, including the code to horizontally center the number in the table cell.
The citation generated by this template will appear in the list in place of <References/>
or the {{reflist}} template, like any other references. The reference produced will be given a name in the form "sc_Chartid_artist" by default, i.e., if the article uses
then the citation could be used to support other statements on the page using a reference as in
...some fact supported by the same source.<ref name="sc_Australia_Bonzo Dog Doo Dah Band"/>
Alternatively, the name can be overridden using the refname parameter, i.e.,
which could then be used as a citation to support other statements on the page using a reference as in
...some fact supported by the same source.<ref name=bonzosinoz/>
Note that the refname parameter does not require the use of quotation marks, but names with spaces in them will necessitate quotation marks in the name parameter of <ref> (for example, you would need to use <ref name="bonzos in oz"/>
if you used spaces in the name).
Пример | Код | Итог (с <references/>) | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Пример 1 |
{{singlechart2 |Australia |18 |artist=Shakira |song=She Wolf}} |
|
||||||||||||||||
Пример 2 |
|
|
||||||||||||||||
Пример 3 |
|
|
||||||||||||||||
Пример 4 |
|
|
||||||||||||||||
Пример 5 |
|
|
Сообщения об ошибках будут выглядеть так:
Венгрия (Rádiós Top 40)YEAR AND WEEK MANDATORY FIELDS FOR HUNGARIAN CHARTS | 19 |
ID чарта | Чарт | Сайт-источник | Необходимые параметры | Примечания |
---|---|---|---|---|
Australia Australian |
ARIA | www.australian-charts.com | artist song |
|
Australiapandora | ARIA | pandora.nla.gov.au | url urltitle artist* |
|
Australiaurban | ARIA | pandora.nla.gov.au | url urltitle artist* |
|
Austria Austrian |
Ö3 Austria Top 40 | www.austriancharts.at | artist song |
|
Belgium (Wallonia) Wallonia |
Ultratop | www.ultratop.be | artist song |
|
Belgium (Flanders) Belgium (Vlanders) Flanders Vlanders |
Ultratop | www.ultratop.be | artist song |
|
Bulgaria Bulgarian |
IFPI at bamp-br.org | www.bamp-br.org | url urltitle artist* |
urltitle должен совпадать с заголовком страницы. |
Czech Republic | IFPI at www.ifpicr.cz | www.ifpicr.cz | year week artist* |
Year и week - необходимые параметры. Week - число 01 to 53, (с 0 для 01-09). |
Danish Denmark |
Hitlisten | www.danishcharts.com | artist song |
|
www.hitlisten.nu | artist song week year |
|||
Denmark 2007 | Hitlisten | www.hitlisten.nu | artist song week year |
|
Danish Airplay Denmark Airplay |
Hitlisten | www.hitlisten.nu | artist song week year |
|
Dutch100 | Mega Single Top 100 | www.dutchcharts.nl | artist song |
|
Dutch40 | Dutch Top 40 | www.top40.nl | artist song |
|
year week artist* |
Year и week необходимые параметры. Week - номер от 1 to 53 | |||
Finnish Finland |
YLE | www.finnishcharts.com | artist song |
|
French France |
SNEP | www.lescharts.com | artist song |
|
Frenchdigital | SNEP | www.lescharts.com | artist song date |
date - 8-значное число YYYYMMDD |
German Germany |
Media Control Charts | www.musicline.de | artist song |
Для artist - порядок фамилия, имя. |
Hungary Hungarian |
Mahasz (Rádiós Top 40) |
www.mahasz.hu | artist song year week |
|
Hungarytop10 | Mahasz (Single Top 10) |
www.mahasz.hu | artist song year week |
|
Hungarydance | Mahasz (Dance Top 40) |
www.mahasz.hu | artist song year week |
|
Ireland Irish |
IRMA | www.chart-track.co.uk | year week artist* |
Параметр week - число от 1 to 53. |
Italian Italy |
FIMI | www.italiancharts.com | artist song |
|
New Zealand | RIANZ | www.charts.org.nz | artist song |
|
Norwegian Norway |
VG-lista | www.norwegiancharts.com | artist song |
Когда не вводятся параметры year и week, (требуются artist и song) ссылка будет вести на www.norwegiancharts.com. |
lista.vg.no/ | artist song week year |
Когда вводятся параметры year и week, ссылка будет вести на lista.vg.no/. | ||
Scotland | Official Charts Company | www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd |
Slovakia Slovakian |
IFPI at www.ifpicr.cz | www.ifpicr.cz | year week artist* |
Year и week - год и неделя определяются по тому году, когда песня вошла в чарт. Week - число от 01 до 53, ( с добавлением 0 для 01-09). Неделя необходима для показа нужного чарта. |
Spain Spanish |
PROMUSICAE | www.spanishcharts.com | artist song |
|
Sweden Swedish |
Sverigetopplistan | www.swedishcharts.com | artist song |
|
Swiss Switzerland |
Media Control Charts | www.swisscharts.com | artist song |
|
UK United Kingdom |
Official Charts Company Main singles chart |
www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd. Из-з ограничений движка Wikimedia, опция "artist search" не может быть использована. Таким образом можно указать позиции 1-40, для 41-100 следует использоать UKchartstats. |
UKchartstats | Official Charts Company Main singles chart |
www.chartstats.com | artist song songid |
|
UKdance | Official Charts Company Dance singles chart |
www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd |
UKdownload | Official Charts Company Download chart |
www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd |
UKindependent UKindie |
Official Charts Company Independent singles chart |
www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd |
UKrandb | Official Charts Company R&B chart |
www.officialchartcompany.com | date artist song |
Дата в формате yyyy-mm-dd |
Другие международные чарты не поддерживаются шаблоном {{singlechart}} и источники придётся добавлять вручную (см. Бразильский чарт из примера выше).
* Параметр artist нужен для оформления сносок. Можно использовать refname, для того, чтобы использовать этот источник в нескольких местах. Использование параметров song и title настоятельно рекомендуется. |
Billboard требуют имя музыканта или название группы и id. Эти данные можно найти через поиск на www.billboard.com. Например Katy Perry на www.billboard.com - http://www.billboard.com/#/artist/katy-perry/958673 . 958673 - id Katy Perry. Это и есть параметр artistid в шаблоне. Например,
ID чарта | Чарт | Сайт-источник | Необходимые параметры | Примечания |
---|---|---|---|---|
Billboardcanadianhot100 Canada |
Canadian Hot 100 | www.billboard.com | artist artistid |
|
Billboardeuropeanhot100 | European Hot 100 Singles | www.billboard.com | artist artistid |
|
Billboardjapanhot100 | Japan Hot 100 | www.billboard.com | artist artistid |
|
Billboardadultcontemporary | Adult Contemporary | www.billboard.com | artist artistid |
|
Billboardalternativesongs | Alternative Songs | www.billboard.com | artist artistid |
|
Billboardhot100 | Billboard Hot 100 | www.billboard.com | artist artistid |
|
Billboardadultpopsongs | Adult Top 40 | www.billboard.com | artist artistid |
|
Billboardcountrysongs | Hot Country Songs | www.billboard.com | artist artistid |
|
Billboarddanceclubplay | Hot Dance Club Songs | www.billboard.com | artist artistid |
|
Billboarddigitalsongs | Hot Digital Songs | www.billboard.com | artist artistid |
|
Billboardlatinpopsongs | Latin Pop Airplay | www.billboard.com | artist artistid |
|
Billboardregionalmexican | Latin Regional Mexican Airplay | www.billboard.com | artist artistid |
|
Billboardlatintropical Billboardtropicalsongs |
Latin Tropical Airplay | www.billboard.com | artist artistid |
До 2009 чартов нет, см. Allmusic. |
Billboardlatinsongs | Hot Latin Songs | www.billboard.com | artist artistid |
|
Billboardpopsongs | Mainstream Top 40 (Pop Songs) | www.billboard.com | artist artistid |
|
Billboardrandbhiphop | Hot R&B/Hip-Hop Songs | www.billboard.com | artist artistid |
|
Billboardradiosongs | Hot 100 Airplay | www.billboard.com | artist artistid |
|
Billboardrapsongs | Rap Songs | www.billboard.com | artist artistid |
|
Другие чарты Billboard пока не включены в {{singlechart}} и источники придётся добавлять вручную (см. Бразильский чарт из примера выше). |
Пример таблицы с добалением {{singlechart}}:
{| class="wikitable sortable" border="1" |- ! Чарт ! Позиция |- | row 1, cell 1 | row 1, cell 2 |- | row 2, cell 1 | row 2, cell 2 |- {{singlechart2|Australia|6|song=I'm the Urban Spaceman|artist=Bonzo Dog Doo Dah Band|note=Happy Meal edition}} |- {{singlechart2|Belgium (Wallonia)|4|song=I'm the Urban Spaceman|artist=Bonzo Dog Doo Dah Band}} |}
<references/>
будет ыглядеть как:
Чарт | Позиция |
---|---|
row 1, cell 1 | row 1, cell 2 |
row 2, cell 1 | row 2, cell 2 |
Австралия (ARIA)[1] Happy Meal edition |
6 |
Бельгия (Ultratop Wallonia)[2] | 4 |
Пример взят из статьи «en:Doesn't Mean Anything» (песня Алишии Кис).
{|class="wikitable sortable" |- !Chart (2009) !Peak<br />position |- {{singlechart2|Australia|96|artist=Alicia Keys|song=Doesn't Mean Anything}} |- {{singlechart2|Billboardcanadianhot100|66|artist=Alicia Keys|artistid=433721}} |- {{singlechart2|Czech Republic|31|artist=Alicia Keys|song=Doesn't Mean Anything|year=2010|week=01}} |- {{singlechart2|Billboardeuropeanhot100|10|artist=Alicia Keys|artistid=433721}} |- {{singlechart|Germany|8|artist=Keys,Alicia|song=Doesn't Mean Anything|note=Angela Merkel rap edition}} |- {{singlechart2|Billboardjapanhot100|3|artist=Alicia Keys|artistid=433721}} |- {{singlechart2|Dutch100|43|artist=Alicia Keys|song=Doesn't Mean Anything|accessdate=2010-02-28}} |- {{singlechart2|New Zealand|22|artist=Alicia Keys|song=Doesn't Mean Anything}} |- {{singlechart2|Slovakia|31|artist=Alicia Keys|song=Doesn't Mean Anything|week=52|year=2009}} |- {{singlechart2|UKchartstats|8|artist=Alicia Keys|song=Doesn't Mean Anything|songid=34669}} |- {{singlechart2|Billboardhot100|60|artist=Alicia Keys|artistid=433721}} |- {{singlechart2|Billboardrandbhiphop|14|artist=Alicia Keys|artistid=433721}} |}
<references/>
будет выглядеть как:
Чарт (2009) | Лучший результат |
---|---|
Австралия (ARIA)[1] | 96 |
Канада (Canadian Hot 100)[2] | 66 |
Чехия (IFPI)[3] | 31 |
Европа European Hot 100 Singles[4] | 10 |
Германия (Media Control AG)[5] Angela Merkel rap edition |
8 |
Япония (Billboard Japan Hot 100)[6] | 3 |
Нидерланды (Mega Single Top 100)[7] | 43 |
Новая Зеландия (RIANZ)[8] | 22 |
Словакия (IFPI)[9] | 31 |
Великобритания (UK Singles Chart)[10] | 8 |
США (Billboard Hot 100)[11] | 60 |
США (Billboard Hot R&B/Hip-Hop Songs)[12] | 14 |
Во избежание поломок страниц, использующих данный шаблон, желательно экспериментировать в своём личном пространстве.
Шаблон:Singlechart2.