Templat:Kotak info lagu/doc

Revisi sejak 23 Desember 2019 16.01 oleh RaFaDa20631 (bicara | kontrib) (←Membuat halaman berisi '{{documentation subpage}} {{Music infobox header}} {{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}} {{Infobox song | name...')
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)

Templat:Music infobox header

"The Single"
Single picture sleeve
Singel oleh the Artist
Sisi-B"Other Side"
Dirilis01 April 2023 (2023-04-01)
FormatCD single
DirekamJanuary 1–10, 2023
StudioRecord Plant, New York City
GenreContemporary R&B
Durasi3:01
LabelColumbia
PenciptaThe Artist
ProduserThe Producer
Kronologi singel the Artist
"Last Single"
(2022)
"The Single"
(2023)
"Next Single"
(2024)
"The Song"
Sheet music cover
Lagu oleh the Artist
dari album That Album
Dirilis01 April 2023 (2023-04-01)
FormatCD
DirekamJanuary 1–10, 2023
Tempat direkamMadison Square Garden
GenreContemporary R&B
Durasi3:01
LabelColumbia
Komponis musikAnother Artist
LirikusThe Artist
ProduserThe Producer

Artikel tentang lagu hampir selalu menyediakan kotak info yang menyediakan rangkuman dari lagu yang dibahas. Umumnya, kotak info lagu digunakan pada lagu yang sudah dirilis secara komersial. Kotak info lainnya seperti {{Infobox musical composition}} dan {{Infobox anthem}} lebih digunakan untuk lagu-lagu daerah, bersejarah, klasik, atau lagu kebangsaan resmi. Contoh-contoh di bawah ini menampilkan parameter yang umum dipakai.

Kotak info biasanya menampilkan fakta penting yang dibahas dalam artikel—tidak perlu terlalu mendetail atau bahkan sampai menghabiskan ruang artikel. Sebaiknya berisi item seperti genre, pencipta, yang dibahas dalam artikel (perlu dikutip dengan referensi sumber tepercaya).

Untuk menggunakan templat ini, silakan salin dan tempel kode di bawah.

Kode

Paling sering digunakan

{{subst:Infobox song
| name          = 
| cover         = <!--just the file name-->
| type          = 
| artist        = 
| album         = 
| B-side        = 
| released      = <!--{{Start date|YYYY|MM|DD}}-->
| format        = 
| recorded      = 
| studio        = 
| genre         = <!--do not add unsourced genres-->
| length        = <!--{{Duration|m=|s=}}-->
| label         = 
| writer        = <!--for both music and lyrics-->
| producer      = 
| prev_title    = <!--for a singles chronology-->
| prev_year     = 
| next_title    = 
| next_year     = 
}}

Sintaksis lengkap

{{subst:Infobox song
| name          = 
| cover         = <!--just the file name-->
| cover_size    = 
| alt           = 
| border        = 
| caption       = 
| type          = 
| artist        = 
| album         = 
| EP            = 
| language      = <!--only if not in English-->
| English_title = 
| A-side        = 
| B-side        = 
| written       = 
| published     = 
| released      = <!--{{Start date|YYYY|MM|DD}}-->
| format        = 
| recorded      = 
| studio        = 
| venue         = 
| genre         = <!--do not add unsourced genres-->
| length        = <!--{{Duration|m=|s=}}-->
| label         = 
| writer        = <!--for both music and lyrics-->
| composer      = 
| lyricist      = 
| producer      = 
| chronology    = 
| prev_title    = <!--for a singles chronology-->
| prev_year     = 
| next_title    = 
| next_year     = 
| tracks        = <!--see "Track listing examples" section for album track listing options-->
| misc          = <!--for use of {{Extra chronology}}, {{Extra track listing}}, {{Extra album cover}}, {{Audio sample}}, {{External music video}}-->
}}

Parameter

name

Judul lagu. Jika tidak tersedia, templat menggunakan {{PAGENAMEBASE}} secara otomatis. Karena tidak ditautkan, penggunaan disambiguasi, seperti "(lagu)", "(lagu Beyoncé)", dsb., tidak usah digunakan.

cover

Gunakan gambar sampul lagu/singel. Gambar itu harus diunggah (lihat Bantuan:Pengunggahan). Isilah nama berkasnya (tanpa memberikan kata-kata Berkas:), misalnya nama berkas.jpg.

alt

Teks alternatif, digunakan untuk visibilitas.

caption

Caption gambar, opsional tetapi gunakan kalimat yang deskriptif.

type

Isi dengan kata-kata seperti: "single", "instrumental", "composition", "promo", dll., seperti pada tabel kode di bawah. Nilai default-nya adalah "song". Setidaknya lebih mengutamakan single yang biasanya lebih terkenal daripada sekadar trek album. Misalnya, "Stairway to Heaven" dirilis sebagai singel promosi di sejumlah pasar dan dirilis sebagai singel digital tahun 2007, tetapi lebih dikenal sebagai lagu dari album keempat Led Zeppelin. Parameter ini berfungsi untuk menentukan warna kotak info berdasarkan jenis lagu yang dirilis, bukan genre atau formatnya.

artist

Nama artis. Jika berupa sebuah grup band yang diawali dengan "The", tuliskan dengan huruf kecil "the" (misalnya |artist=the Beatles, bukan |artist=The Beatles). Untuk lagu bersejarah atau lagu daerah, yang sama sekali bersifat jarang diketahui artis aslinya, silakan dikosongkan.

album

Judul lagu itu dirilis dalam album, isikan judul album serta pranalanya. Judul album akan ditulis miring sebagai "dari album Name". Jika lagu itu dirilis mendahului albumnya, |album= sebaiknya tidak perlu diisi, karena itu bukan dari album xxx. Misalnya, lagu berjudul "Beck's Bolero" dan "Back on the Chain Gang" dirilis sebagai singel 16 bulan sebelum dimasukkan dalam album dan justru terkenal sebelum album itu dirilis.

EP

Jika lagu dirilis dalam Extended play (EP), isikan judul EP serta pranalanya. Sama dengan |album= di atas.

language

Jika lagu tidak ditulis dengan bahasa Indonesia, Anda dapat mengisi parameter ini. Bahasa tidak perlu dipranalakan.

Indonesian title

Judul terjemahan dalam bahasa Indonesia

A-side dan B-side

Bila artikel ini membahas lagu yang dirilis dalam sisi-B singel, isikan judul lagu pada sisi-A-nya. Otomatis akan menambahkan tanda kutip.[1] Untuk entri yang lebih dari satu, rujuk ke [2] untuk detailnya. Jika single itu sisi-A ganda, lihat Kronologi sisi-A ganda di bawah.

If the article is about the song that was issued as the A-side of a single, enter the name of the B-side in this field (do not add A-side). Add a link if it has an article; quote marks will be automatically added.[1] For multiple entries, see Notes[2] for details. Generally, later releases or in secondary markets, reissues, etc., should only be included in the body of the article.

written

The year the song was written or composed may be added, if discussed in the article. This is usually used for historical songs, written before the advent of sheet music publishing or music recording.

published

The year the song was published also may be included, if discussed in the article. This usually refers to sheet music published before the rise of music recording.

released

Indicate the commercial release date, whether it is a single, album, or other. Enter the date using {{Start date}}. For example, use {{Start date|YYYY|MM|DD}} for the complete date, {{Start date|YYYY|MM}} if only year and month are known, or {{Start date|YYYY}} for just a year. For multiple entries, see Notes[2] for details. Generally, later releases or in secondary markets, reissues, on compilations, etc., should only be included in the body of the article.

format

Indicate the way that the song was released, for example: 7-inch single, 12-inch single, CD single, cassette single, digital download (note the piped download link), etc. Generally, later releases or in secondary markets, reissues, on compilations, etc., should only be included in the body of the article. Do not use " or (double quote) for inches, instead use 7-inch rather than 7" (if it is necessary to abbreviate, use 7 in; see WP:Units). Numbers should be expressed in figures rather than spelled out (10-inch instead of ten-inch) and should not be used alone; an additional descriptor, such as 45 rpm, single, record, etc., should follow. For multiple entries, see Notes[3] for details.

recorded

Enter the date(s) the song was recorded. When there are many dates, it is best to summarize, using the month or range of months (e.g., January–March 2022). For multiple entries, see Notes[2] for details. Add the location of the recording in the |studio= or |venue= field.

studio

If the song was recorded in a recording studio, enter the name and location. Link the studio, but not well-known cities, states, or countries (see WP:OVERLINK). Remove "Studios" if it appears in the name – use [[Sound City Studios|Sound City]] rather than [[Sound City Studios]]. For multiple entries, see Notes[3] for details. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes[4] for details.

venue

For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes[4] for details.

genre

The field should include the music genre(s) that best describes the song. It should come from a reliable source and also be stated and referenced in the body of the article; personal opinions or original research must be not be included. Note that most genres are not proper nouns and should not be capitalized. However, the first word in a list of multiple genres should be capitalized. For multiple entries, see Notes[3] for details.

length

{{Duration}} is used to enter the length of the song. The timing should be taken from the original album or single release, instead of reissues, downloads, etc. An hAudio microformat is added automatically for the first duration detected. The duration must contain a seconds value, or it will be incorrectly interpreted. For multiple entries, see Notes[2] for details. If there is more than one length specified in the parameter, or the page appears in Kategori:Duration without hAudio microformat (1), use {{Duration}}.

label

The name of the record company that issued the release may be included here. Generally, add later releases, those from different countries, reissues, etc., in the body of article instead of the infobox. Remove "Records" if it appears in the name – use [[Universal Records|Universal]] instead of [[Universal Records]]. For multiple entries, see Notes[3] for details.

writer

Use this field if the music and lyrics were written by one person or, in the case of multiple writers, where a separate lyricist and composer have not been clearly identified by a reliable source. Do not use this field if the |composer= and |lyricist= fields are used. For multiple entries, see Notes[3] for details.

composer

The person(s) who composed the song's music, if different than the lyricist. If not differentiated in the article, use the |writer= field instead. For instrumentals, use this field only (in WP song articles, "song" (music with words) is not usually used to describe an "instrumental"). For multiple entries, see Notes[3] for details.

lyricist

The person(s) who wrote the lyrics, if different than the song's composer. If not differentiated in the article, use the |writer= field instead. For multiple entries, see Notes[3] for details.

producer

Enter the name of the person(s) credited with the record production. This is someone who oversees the recording process and is usually different than the artist or songwriter. For multiple entries, see Notes[3] for details.

chronology

This field and the following |prev_title= and |next_title= display the artist's immediate singles chronology. By leaving it blank, "The Artist singles chronology" is automatically displayed if any of the following fields are used. An alternative header may be displayed before the automatically produced "chronology", for example, The Artist American, The Artist UK singles, etc., produces "The Artist American chronology", "The Artist UK singles chronology", etc. Please note: if this field is used and a track listing is also wanted, it must be added using {{Extra track listing}}.

If |chronology= is blank, the first letter of the artist name given in |artist= is automatically capitalized in the chronology header, so that band names starting with "The" appear as recommended in the Manual of Style. If the first letter of the artist's name is stylized in lower case, enter the artist's name in |chronology= as you wish it to appear. For example, |artist=letlive. should use |chronology=letlive. for it to also appear there in lower case.

prev_title

Enter the name of the artist's previous single. Quote marks will be added automatically;[1] link it if there is a WP article. Leave this blank if the artist has no previous single. For double A-sided singles, refer to the Chronology for double-A-side singles section below.

prev_year

Enter only the year the previous single was released. Following the WP date style guidelines, years should not be linked within the chronology section. Leave this field blank if there is no previous single.

next_title

Enter the name of the artist's next single, if applicable. Quote marks will be added automatically;[1] link it if there is a WP article.

next_year

Enter only the year the next single was issued, if applicable.

tracks

Several track listing options are available. See the Track listing examples section below for explanations and codes.

misc

This is not a space for miscellaneous information or comments. It allows for the use of subtemplates, including {{Extra chronology}}, {{Extra track listing}}, {{Extra album cover}}, {{Audio sample}}, and {{External music video}}. Please refer to the template pages for explanations on their use.

Track listing examples

Not all infoboxes should include album track listings. Articles about traditional or historical songs might not focus on a particular recording, so details about a later rendition, including album releases, are inappropriate for an infobox. Additionally, there may already be an album track listing with links to other songs in a navigation template or navbox at the end of the article. These include an album navbox (for example, {{Thriller (album)}}), an artist song navbox ({{Rihanna songs}}), or an artist navbox that includes songs ({{Robert Johnson}}).

An album track listing may be added to infobox song as long as the following criteria are met: 1) the article does not have a navbox in which the song appears; and 2) a majority of the album's songs are linked to WP articles. Currently, three different approaches to listing album tracks are found in infobox song.

Track listing using a separate sub-template

"The Song"
Lagu oleh the Artist
dari album That Album
Dirilis01 April 2023 (2023-04-01)
DirekamJanuary 1–10, 2023
StudioRecord Plant, New York City
GenreContemporary R&B
Durasi3:01
LabelColumbia
PenciptaThe Artist
ProduserThe Producer
That Album track listing
Templat:Rumours tracks

If a separate album track listing sub-template has been created, it may be added to the |tracks= of the infobox. Using such a template may be more convenient for multi-disc albums or those with many tracks. A header with the album name will be automatically generated, along with the number of tracks. The song title will not be linked, but will appear in bold.

The example to the right uses {{Rumours tracks}} to demonstrate. To see its use in actual song infobox, click on the song links. Please note, if a singles chronology is also used in the infobox (|prev_title=, etc.), {{Extra track listing}} must be used in the |misc= field (refer to that Template:Extra track listing#Usage for the code and explanation).

Track listing using the hidden template

"The Song"
Lagu oleh the Artist
dari album That Album
Dirilis01 April 2023 (2023-04-01)
DirekamJanuary 1–10, 2023
StudioRecord Plant, New York City
GenreContemporary R&B
Durasi3:01
LabelColumbia
PenciptaThe Artist
ProduserThe Producer
That Album track listing

A second option does not require a separate album track listing sub-template to be created. Instead, the {{Hidden}} template is placed directly into the infobox in the |tracks= field, then the tracks are listed. This may be copied and added to other songs infoboxes from the same album.

The example to the right uses this approach. To see its use in actual infoboxes, click on the song titles. Also, please note that if a singles chronology is also used in the infobox (|prev_title=, etc.), {{Extra track listing}} must be used in the |misc= field (refer to that Template:Extra track listing#Usage for the code and explanation).

Code
{{Infobox song
...
| tracks        = {{Hidden
 | title        = 
 | text         = 
# 
# 
# etc.
}}
title

Enter the number of tracks, such as "10 tracks". A header will be generated automatically, for example "That Album track listing".

text

In this field, add the album tracks, using # to generate a sequential numbering. The song titles should be in "quotes", with the article track also in bold. Link any track that has its own WP article, except for when the song is the subject of the article.

For multi-disc CDs, subheadings for "Disc one", "Disc two", etc. may be included. Similarly, subheadings such as "Side one" or "Side A" may be added for LP records and EPs. To ensure that the track numbering continues sequentially after a subheading (rather than starting again at "1"), use <li value="x"> where "x"=the next track number.

Code
{{Infobox song
...
| tracks        = {{Hidden
 | title        = 
 | text         = 
;Disc one
# 
# 
# etc.
;Disc two
#<li value=>
# 
# 
# etc.
}}

Chronology for double-A-side singles

"The Single"
Singel oleh the Artist
dari album That Album
Sisi-A"Other Side" (double A-side)
Dirilis01 April 2023 (2023-04-01)
FormatCD single
DirekamJanuary 1–10, 2023
StudioRecord Plant, New York City
GenreContemporary R&B
Durasi3:01
LabelColumbia
PenciptaThe Artist
ProduserThe Producer
Kronologi singel The Artist double A-side
"Last Single" / "Last Other"
(2022)
"The Single" / "Other Side"
(2023)
"Next Single" / "Next Other"
(2024)
Code
{{Infobox song
...
| A-side        = 
| chronology    = 
| prev_title    = 
| prev_title2   = 
| prev_year     = 
| title2        = 
| next_title    = 
| next_title2   = 
| next_year     = 
}}
A-side

Enter the name of the second- or flip-side of the current or article title.

chronology

Use this field to provide an alternative header to the automatically generated "The Artist singles chronology". Enter The Artist double A-side singles to display "The Artist double A-side singles chronology", etc.

prev_title

Enter the name of the previous single. If it has a WP article, add a link.

prev_title2

If the previous is a double A-side single, enter the name of the previous single second- or flip-side and link as appropriate.

prev_year

Enter only the year the previous single was released.

title2

If it is a double A-side single, enter the name of the second- or flip-side of current or article title. (The current or article title with be automatically generated with quotes and in bold and will appear as the first of the two; the year is also generated from the |released= year date.)

next_title

Enter the name of the next single. If it has a article, add a link.

next_title2

Enter the name of the second-or flip side of next-single, if it is a double-A. Link as appropriate.

next_year

Enter only the year the next single was released.

Notes

  1. ^ a b c d If any details besides the actual song title (country, etc.) are added, quote marks need to be added manually to the song title. Additionally, for |A-side= and |B-side=, quote marks need to be added for each title if there is more than one.
  2. ^ a b c d e For multiple entries, this parameter uses class=plainlist. Format the items as a normal bulleted list; don't use other list templates or <br/>. For example:
    | studio =
    *First item
    *Second item
    *Third item

    will be displayed as a vertical unbulleted list:

    Studio   
    • First item
    • Second item
    • Third item
  3. ^ a b c d e f g h For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of the class=hlist is preferred as it offers a benefit to users of screen readers (see Wikipedia:Accessibility for more information on Web Content Accessibility Guidelines). To use it, format the items as a normal bulleted list; don't use other list templates or <br/>. For example:
    | genre =
    *Item one
    *Item two
    *Item three

    will be displayed as a horizontal list separated by middots:

    Genre   
    • Item one
    • Item two
    • Item three
  4. ^ a b As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by MOS:ACRO, such as "Portsmouth, New Hampshire, U.S." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see MOS:POSTABBR). Cities such as New York City and London may be rendered as "New York City, U.S." and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see MOS:OVERLINK). If only the country name is included, it may be written out in full.


TemplateData

TemplateData documentation used by VisualEditor and other tools
Lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Kotak info lagu

An infobox for songs

Parameter templat

ParameterKeteranganJenisStatus
Namename Name title

The name or title of the song.

Baku
(PAGENAME)
Katawajib diisi
Covercover Cover image

An appropriate image, such as a sheet music or single picture sleeve cover.

Contoh
A file name, without the File: <NAME.jpg>
Kataopsional
Cover_sizecover_size Cover size cover size

tidak ada keterangan

Kataopsional
Altalt Alt

Alternative text for the cover image, to describe it to visually impaired readers.

Kataopsional
Borderborder Border

Set to yes to put a 1 pixel border around the image.

Kataopsional
Captioncaption Caption

Caption for the image; this will overwrite automatically generated <"Song" cover> when a file is added to the "caption" field

Contoh
Sheet music cover, 1920.
Kataopsional
Typetype Type

Specify "song", "single", "Instrumental", "Composition", etc. This generates the header and color.

Katadisarankan
Artistartist Artist original_artist

The name of the artist.

Katadisarankan
Albumalbum Album from_album from Album

The name of the album on which the song originally appeared.

Kataopsional
EPEP

The name of the EP on which the song originally appeared. Only use album or EP; both will not be displayed.

Kataopsional
Languagelanguage Language

Only if the song is not in English, indicate the language.

Kataopsional
English titleEnglish_title english_title

The English translation of the name of the song, if it is in another language.

Kataopsional
A-sideA-side a-side

For singles: the name of A-side of the current or title single.

Kataopsional
B-sideB-side b-side

For singles: the name of the B-side of the current or title single. Only one of the fields 'A-side' or 'B-side' should be used.

Kataopsional
Writtenwritten Written

The date the song was written; this is usually used for songs created before music publishing or recording

Kataopsional
Publishedpublished Published

The date the song was published; this is usually used for songs created before the rise of music recording

Kataopsional
Releasedreleased Released

For recorded music: The earliest known date of commercial release, using a single occurrence, using {{Start date}}. For April 1, 2015, enter {{Start date|2015|04|01}}.

Kataopsional
Formatformat Format

For recorded music: the way that the song was released, e.g., 7-inch single, LP record, EP, CD, cassette, digital download (note the piped download link), etc.

Kataopsional
Recordedrecorded Recorded

The date(s) the song was recorded.

Kataopsional
Studiostudio Studio

If the song was recorded in a recording studio, enter the name and location.

Kataopsional
Venuevenue Venue

For live recordings, include the name of the venue (concert hall, stadium, etc.) and location.

Kataopsional
Genregenre Genre

The genre(s) that best describes the song. This must not be original research, and should be stated and referenced in the article.

Katadisarankan
Lengthlength Length

The length of the song, using {{Duration}}. To display 3 minutes 45 seconds as 3:45, enter {{Duration|m=3|s=45}}.

Angkaopsional
Labellabel Label

The record company label which originally released the recording. Releases in other territories, different formats, reissues, etc., should be included in the body of the article, not in this field.

Kataopsional
Songwriter/Writerwriter Writer songwriter Songwriter

The name of the person(s) credited with writing both the music and lyrics for the song. Where a separate lyricist and composer have been clearly identified by a reliable source, use the "composer" and "lyricist" fields instead.

Katadisarankan
Composercomposer Composer

The name of the person(s) who composed the song's music, if different than the lyricist. If not differentiated in the article, use the "songwriter/writer" field instead.

Kataopsional
Lyricistlyricist Lyricist

The person(s) who wrote the lyrics, if different than the song's composer. If not differentiated in the article, use the "songwiter/writer" field instead.

Kataopsional
Producerproducer Producer

The person(s) who is credited with the record production.

Kataopsional
Chronologychronology Chronology

For singles: Header for the chronology section.

Baku
(Artist name) singles chronology
Kataopsional
Prev_titleprev_title

The name of the previous single in the artist's chronolgy.

Kataopsional
Prev_title2prev_title2

The name of the previous single in the artist's chronolgy.

Kataopsional
Prev_yearprev_year

The year of the previous single in the artist's chronology.

Angkaopsional
Titletitle

The name of the current or subject single.

Kataopsional
Title2title2

For a double A-side single: the name of the second or flip-side of the current single in the artist's chronology.

Kataopsional
Yearyear

To change the automatically generated year: the year of the single in the artist's chronology.

Angkaopsional
Next_titlenext_title

The name of the next single in the artist's chronology.

Kataopsional
Next_title2next_title2

For a double A-side single: the name of the second- or flip-side of the next single.

Kataopsional
Next_yearnext_year

The year of the next single in the artist's chronology.

Angkaopsional
Trackstracks Tracks

To add a full-album track listing.

Kataopsional
Prev_trackprev_track

tidak ada keterangan

Katausang
Track_notrack_no

tidak ada keterangan

Angkausang
Next_tracknext_track

tidak ada keterangan

Katausang
Miscmisc Misc

To add extra subtemplates, such as {{Extra chronology}}, {{Extra track listing}}, {{Extra album cover}}, {{Audio sample}}, etc.

Kataopsional
ISWCISWC

tidak ada keterangan

Katausang
Commentcomment Comment

tidak ada keterangan

Katausang
Prevprev

tidak ada keterangan

Katausang
Prev_noprev_no

tidak ada keterangan

Angkausang
Nextnext

tidak ada keterangan

Katausang
Next_nonext_no

tidak ada keterangan

Angkausang

Tracking categories

See also