Template:Infobox song

Permanently protected template
From SPCodex, The Smashing Pumpkins wiki
Revision as of 02:53, 2 July 2020 by MusikAnimal (talk | contribs) (link to artist if page exists)

This template defines the table "songs". View table.

{{#vardefine:name|Infobox song}}"{{#var:name}}"
Song
{{#vardefine:track_listing|}}
[[{{{album}}}]]
{{#var:track_listing}}

An infobox for songs

[Edit template data]

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename Name title

The name or title of the song.

Default
(PAGENAME)
Stringrequired
Covercover Cover image

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

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

no description

Stringoptional
Altalt Alt

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

Stringoptional
Borderborder Border

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

Stringoptional
Captioncaption Caption

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

Example
Sheet music cover, 1920.
Stringoptional
Type ("song", "single", "promo", or "cover")type Type

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

Stringsuggested
Artistartist Artist

The name of the artist.

Stringsuggested
Albumalbum Album from_album from Album

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

Stringsuggested
EPEP

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

Stringoptional
Languagelanguage Language

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

Stringoptional
English titleEnglish_title english_title

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

Stringoptional
A-sideA-side a-side

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

Stringoptional
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.

Stringoptional
Writtenwritten Written

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

Dateoptional
Publishedpublished Published

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

Dateoptional
Releasedreleased Released

Date or year of earliest commercial release.

Stringsuggested
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.

Stringoptional
Recordedrecorded Recorded

The date(s) the song was recorded.

Stringsuggested
Studiostudio Studio

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

Stringsuggested
Venuevenue Venue

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

Stringoptional
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.

Stringoptional
Lengthlength Length

The length of the song in minutes and seconds, such as 3:45

Numbersuggested
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.

Stringoptional
Songwriter(s)writer Writer songwriter Songwriter

Comma-separated list of persons credited with writing the song

Example
Billy Corgan, James Iha
Stringrequired
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.

Stringoptional
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.

Stringoptional
Producer(s)producer Producer

Comma-separated list of persons credited with the production

Example
Flood, Billy Corgan, Alan Moulder
Stringsuggested
Chronologychronology Chronology

For singles: Header for the chronology section.

Default
(Artist name) singles chronology
Stringoptional
Prev_titleprev_title

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

Stringoptional
Prev_title2prev_title2

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

Stringoptional
Prev_yearprev_year

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

Numberoptional
Titletitle

The name of the current or subject single.

Stringoptional
Title2title2

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

Stringoptional
Yearyear

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

Numberoptional
Next_titlenext_title

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

Stringoptional
Next_title2next_title2

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

Stringoptional
Next_yearnext_year

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

Numberoptional
Trackstracks Tracks

To add a full-album track listing.

Stringoptional
Prev_trackprev_track

no description

Stringdeprecated
Track_notrack_no

no description

Numberdeprecated
Next_tracknext_track

no description

Stringdeprecated
Miscmisc Misc

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

Stringoptional
ISWCISWC

no description

Stringdeprecated
Commentcomment Comment

no description

Stringdeprecated
Prevprev

no description

Stringdeprecated
Prev_noprev_no

no description

Numberdeprecated
Nextnext

no description

Stringdeprecated
Next_nonext_no

no description

Numberdeprecated

no description

Unknownoptional
cover_uprightcover_upright

no description

Unknownoptional
album_photoalbum_photo

no description

Unknownoptional
Lyricslyrics

Set to "yes" if there are lyrics. There should be a section on the page called "Lyrics"

Auto value
yes
Booleanrequired
notabsnotabs

no description

Unknownoptional
Has video?video

Enter "yes" if there's an associated video in a section on the page called "Music video". Leave blank or enter "no" if there is no video.

Booleansuggested
Spotify IDspotify

Enter the song ID on Spotify, and this will generate a link to it

Stringsuggested
prev_singleprev_single

no description

Unknownoptional
next_singlenext_single

no description

Unknownoptional
__µ__µ

no description

Unknownoptional
Last singleLast single

no description

Unknownoptional
This singleThis single

no description

Unknownoptional
Template documentation[view] [edit] [history] [purge]

Articles about songs should include an infobox that provides an overview or summary of the song.

Code

The first template code below includes the most commonly used infobox parameters. If there is no information in the article to support the field, leave it blank. Remove the <!-- and --> to use the {{Start date}} and {{Duration}} subtemplates.

The second includes the full set of parameters; most articles will not need many of the fields and they may be left blank or removed. Please note that adding fields other than those listed, such as |arranger= or |recording engineer=, will not be displayed.

Most commonly used parameters

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

TemplateData

An infobox for songs

[Edit template data]

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename Name title

The name or title of the song.

Default
(PAGENAME)
Stringrequired
Covercover Cover image

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

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

no description

Stringoptional
Altalt Alt

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

Stringoptional
Borderborder Border

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

Stringoptional
Captioncaption Caption

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

Example
Sheet music cover, 1920.
Stringoptional
Type ("song", "single", "promo", "cover", "composition")type Type

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

Stringsuggested
Artistartist Artist

The name of the artist.

Stringsuggested
Albumalbum Album from_album from Album

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

Stringsuggested
EPEP

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

Stringoptional
A-sideA-side a-side

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

Stringoptional
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.

Stringoptional
Writtenwritten Written

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

Dateoptional
Publishedpublished Published

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

Dateoptional
Releasedreleased Released

Date or year of earliest commercial release.

Stringsuggested
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.

Stringoptional
Recordedrecorded Recorded

The date(s) the song was recorded.

Stringsuggested
Studiostudio Studio

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

Stringsuggested
Venuevenue Venue

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

Stringoptional
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.

Stringoptional
Lengthlength Length

The length of the song in minutes and seconds, such as 3:45

Numbersuggested
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.

Stringoptional
Songwriter(s)writer Writer songwriter Songwriter

Comma-separated list of persons credited with writing the song

Example
Billy Corgan, James Iha
Stringrequired
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.

Stringoptional
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.

Stringoptional
Producer(s)producer Producer

Comma-separated list of persons credited with the production

Example
Flood, Billy Corgan, Alan Moulder
Stringsuggested
Chronologychronology Chronology

For singles: Header for the chronology section.

Default
(Artist name) singles chronology
Stringoptional
Titletitle

The name of the current or subject single.

Stringoptional
Title2title2

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

Stringoptional
Yearyear

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

Numberoptional
Trackstracks Tracks

To add a full-album track listing.

Stringoptional
Miscmisc Misc

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

Stringoptional
ISWCISWC

no description

Stringdeprecated
Commentcomment Comment

no description

Stringdeprecated
Lyricslyrics

Set to "yes" if there are lyrics. There should be a section on the page called "Lyrics"

Auto value
yes
Booleanrequired
notabsnotabs

no description

Unknownoptional
Has video?video

Enter "yes" if there's an associated video in a section on the page called "Music video". Leave blank or enter "no" if there is no video.

Booleansuggested
Spotify IDspotify

Enter the song ID on Spotify, and this will generate a link to it

Stringsuggested
Discogs master IDdiscogs

no description

Numberoptional
MusicBrainz release-group IDmusicbrainz

no description

Stringoptional
Side project ofside_project

The name of the band member, etc.

Example
Billy Corgan
Page nameoptional
Original artistoriginal_artist

The artist who originally wrote or takes credit for this song

Stringoptional
Nonstandard artistnonstandard_artist

Set this for songs we want to document on the wiki, but aren't necessarily in scope. Setting this will not categorize the song by the artist, among other things.

Default
0
Booleanoptional
Is EPis_ep

Set this to 1 if the song release charted on an albums chart, or is otherwise treated as an EP and not just a single.

Booleanoptional

Tracking categories

See also