Esta plantilla se utiliza para citar fuentes en Wikipedia. Está destinada específicamente a lanzamientos de sencillos musicales grabados: singles . Se puede encontrar una plantilla similar para citar fuentes de álbumes musicales en Plantilla:Tabla de álbumes ; sin embargo, para EP u otros lanzamientos, aún no se ha desarrollado.
En general, la plantilla se expande para producir una fila de tabla con la información del país, la lista de éxitos , la referencia y la posición máxima del sencillo en la lista en particular. Las tablas de dicha información se utilizan comúnmente en los artículos de Wikipedia sobre sencillos, álbumes, discografías y artistas.
Esta plantilla no verifica ninguna posición ni aparición en las listas. Principalmente proporciona una URL de referencia que se cree que está asociada con una fuente confiable para una lista reconocida. La URL de referencia en sí tampoco se verifica. Por ejemplo, ingresar una ortografía incorrecta o alternativa del título de una canción puede generar un enlace incorrecto. Los editores individuales deberán seguir las URL generadas por la plantilla para verificar su utilidad antes de abandonar un artículo editado.
Esta plantilla genera datos adecuados para su inclusión en una tabla de gráficos de registros. Generará un nombre de gráfico referenciado y una posición. Se puede utilizar como parte de una tabla más grande o se puede utilizar una serie de celdas para crear un gráfico. Esta plantilla no crea el marcado de tabla circundante.
Todos los nombres de campo utilizados deben estar en minúsculas .
Puede copiar una versión en blanco para utilizarla. Recuerde utilizar el carácter "|" (barra vertical) entre cada campo. Elimine los campos que no utilice para evitar el desorden en la ventana de edición.
La plantilla tiene la siguiente sintaxis:
Los parámetros publish-date , access-date y refname son opcionales. La obligatoriedad o no de los demás parámetros depende del gráfico al que se hace referencia. Consulta las tablas en la sección Soporte a continuación.
songid
se puede encontrar en la dirección web (URL) mediante inspección. Por ejemplo, la página de "In My Mind" en tophit.ru tiene la URL https://tophit.ru/ru/tracks/88003/, por lo que el songid
que se debe utilizar es 88003.songid
que se utilizanote=extended dance mix
, o {{single chart|Australia|1|song=I'm the Urban Spaceman|artist=The Bonzo Dog Doo Dah Band|note=uncensored version}}
.Datos de plantilla para gráfico único
Crea una fila de tabla para un gráfico único reconocido
La expansión de la plantilla da como resultado dos elementos de salida:
La fila de salida incluye el carácter de barra vertical para dividir la celda izquierda de la celda derecha. La celda izquierda incluye el nombre del país o del gráfico, con enlaces wiki a los artículos del gráfico, así como la nota de referencia [n] como si estuviera encerrada entre <ref></ref>
etiquetas. Cualquier nota incluida con el parámetro de nota también se muestra en la celda izquierda. La celda derecha contiene el número de posición del pico, incluido el código para centrar horizontalmente el número en la celda de la tabla.
La cita generada por esta plantilla aparecerá en la lista en lugar de <references />
o la {{reflist}}
plantilla, como cualquier otra referencia. La referencia generada recibirá un nombre en el formato "sc_Chartid_artist" de forma predeterminada, es decir , si el artículo utiliza
{{single chart|Australia|1|song=I'm the Urban Spaceman|artist=Bonzo Dog Doo Dah Band|note=album version}}
Entonces la cita podría usarse para apoyar otras afirmaciones en la página usando una referencia como en
...some fact supported by the same source.<ref name="sc_Australia_Bonzo Dog Doo Dah Band"/>
Alternativamente, el nombre se puede anular utilizando el parámetro refname , es decir ,
{{single chart|Australia|1|song=I'm the Urban Spaceman|artist=Bonzo Dog Doo Dah Band|refname=bonzosinoz}}
que luego podría usarse como cita para apoyar otras afirmaciones en la página usando una referencia como en
...some fact supported by the same source.<ref name=bonzosinoz/>
Tenga en cuenta que el parámetro refname no requiere el uso de comillas, pero los nombres con espacios sí necesitarán comillas en el parámetro de nombre de <ref> (por ejemplo, necesitaría usarlas <ref name="bonzos in oz"/>
si usara espacios en el nombre).
Aquí se muestran algunos ejemplos rápidos de uso de plantillas y el resultado correspondiente. En la sección Ejemplos con diseño de tabla que aparece a continuación se incluyen ejemplos más detallados con el código de tabla correspondiente.
Como ayuda para los usuarios de plantillas, se realizan ciertas comprobaciones para verificar que se hayan introducido los parámetros necesarios. (No se comprueba si las referencias reales respaldan correctamente la posición máxima solicitada o si el enlace funciona, pero se comprueba si algunas entradas de parámetros son adecuadas). Cuando una comprobación determina que falta un parámetro obligatorio, se genera un mensaje de error en rojo. Por ejemplo, si olvida el valor de la semana o el año para el gráfico de Hungría, el resultado en el artículo se verá así:
Este es un incentivo (adicional) para obtener una vista previa de la página del artículo antes de guardar las modificaciones. Revise la tabla de gráficos y la sección de referencias para ver si hay mensajes de error (normalmente en rojo).
La gran cantidad de gráficos publicados por Billboard permite cierta uniformidad en la forma de acceder a su información. Sin embargo, los demás gráficos y archivos utilizados como referencias en Wikipedia, producidos por una multitud de editores, requieren un enfoque variado a la hora de buscar posiciones en los gráficos. A continuación se muestran dos tablas, la primera para gráficos que no son de Billboard y la segunda para gráficos de Billboard , actualmente compatibles con la {{single chart}}
plantilla. Los parámetros necesarios para generar citas de referencia se muestran en ambas tablas para cada gráfico compatible.
Actualmente, no se admiten otros gráficos que no sean de Billboard{{single chart}}
y será necesario formatear y hacer referencia a ellos manualmente (consulte la lista de Brasil en el Ejemplo 5 anterior). Sin embargo, asegúrese de no utilizar ninguno de los gráficos obsoletos .
* Estos gráficos requieren el parámetro de artista únicamente para fines de denominación de referencia interna utilizando el formato predeterminado (consulte la Salida anterior). Si está utilizando el parámetro refname para anular la denominación predeterminada, o está seguro de que las referencias no se están reutilizando en el artículo, omita el artista para los gráficos marcados. Sin embargo, se recomienda el uso de canción y título para todos los gráficos.
Todas las listas de Billboard requieren el nombre del artista.
Actualmente, no se admiten otros gráficos de Billboard{{single chart}}
y será necesario formatear y hacer referencia a ellos manualmente (consulte la lista de Brasil en el Ejemplo 5 anterior). Sin embargo, asegúrese de no utilizar ninguno de los gráficos obsoletos .
Dado que esta plantilla solo produce filas individuales dentro de una tabla, deberá agregar (o ya tiene) el marco de la tabla en el artículo. Aquí hay una tabla de muestra con su salida correspondiente:
{| class = "wikitable sortable plainrowheaders" |+ Ejemplo de gráfico único ! scope = "col" | Gráfico ! scope = "col" | Posición máxima |- ! scope = "row" | fila 1, celda 1 | fila 1, celda 2 |- ! scope = "row" | fila 2, celda 1 | fila 2, celda 2 |- {{ gráfico único | Australia | 6 | canción = I'm the Urban Spaceman | artista = Bonzo Dog Doo Dah Band | nota = Happy Meal edition | rowheader = true }} |- {{ gráfico único | Bélgica (Valonia) | 4 | canción = I'm the Urban Spaceman | artista = Bonzo Dog Doo Dah Band | rowheader = true }} |} {{ lista de referencias }}
Se expande en:
Este ejemplo es un extracto del uso real en "Downloads " (No significa nada ), con un par de adiciones menores.
{| class = "wikitable sortable plainrowheaders" |+ Rendimiento en las listas de éxitos de "Doesn't Mean Anything" ! scope = "col" | Lista (2009) ! scope = "col" | Posición máxima |- {{ single chart | Australia | 96 | artista = Alicia Keys | canción = Doesn't Mean Anything | rowheader = true }} |- {{ single chart | Billboardcanadianhot100 | 66 | artista = Alicia Keys | rowheader = true }} |- {{ single chart | República Checa | 31 | artista = Alicia Keys | canción = Doesn't Mean Anything | año = 2010 | semana = 01 | rowheader = true }} |- {{ single chart | Alemania | 8 | artista = Keys,Alicia | canción = Doesn't Mean Anything | songid = 625466 | nota = Edición rap de Angela Merkel | rowheader = true }} |- {{ single chart | Billboardjapanhot100 | 3 | artista = Alicia Keys | rowheader = true }} |- {{ single chart | Dutch100 | 43 | artista = Alicia Keys | canción = Doesn't Mean Anything | fecha de acceso = 2010-02-28 | rowheader = true }} |- {{ single chart | Nueva Zelanda | 22 | artista = Alicia Keys | canción = Doesn't Mean Anything | rowheader = true }} |- {{ lista de singles | Eslovaquia | 31 | artista = Alicia Keys | canción = Doesn't Mean Anything | semana = 52 | año = 2009 | rowheader = true }} |- {{ lista de singles | UKsinglesbyname | 8 | artista = Alicia Keys | canción = Doesn't Mean Anything | artistid = 10931 | rowheader = true }} |- {{ lista de singles | Billboardhot100 | 60 | artista = Alicia Keys | rowheader = true }} |- {{ lista de singles | Billboardrandbhiphop | 14 | artista = Alicia Keys | rowheader = true }} |}{{ lista de referencias }}
Se expande en:
Cada ID de gráfico corresponde a un solo nombre de salida; en el caso de gráficos que han cambiado de nombre, este suele ser el nombre actual/más reciente. Esto puede resultar anacrónico para un gráfico individual determinado. Una solución alternativa es utilizar, |note=
por ejemplo,
{{single chart|Billboardadultcontemporary|7|song=Gentle on My Mind|artist=Patti Page|note=then called Easy Listening}}
Para ayudar a mantener los artículos sobre música, esta plantilla categorizará automáticamente los artículos que la llamen según los parámetros utilizados en la referencia.
Categoría:Gráfico único utilizado con parámetros faltantes que contiene una lista de artículos que no han superado la comprobación de errores debido a parámetros faltantes.
Este conjunto de categorías enumera las llamadas para cada nombre de gráfico posible, es decir, Categoría:Usos de gráficos individuales para Billboardhot100 contiene todos los artículos que han utilizado la plantilla para crear una referencia para Billboard Hot 100. Tenga en cuenta que los nombres alternativos no se manejan con elegancia: Categoría:Usos de gráficos individuales para Dinamarca y Categoría:Usos de gráficos individuales para Dinamarca son categorías separadas.