Template:Infobox song/sandbox

From SPCodex, The Smashing Pumpkins wiki
"Template:Infobox song/sandbox"
Song
Template documentation[view] [edit] [history] [purge]

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

Code[edit source]

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[edit source]

{{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[edit source]

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[edit source]

See also[edit source]