Template:Infobox song/doc

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


Parameters
{	"params": { "name": { "aliases": [ "Name", "title" ],			"label": "Name", "description": "The name or title of the song.", "type": "string", "default": "(PAGENAME)", "required": true },		"cover": { "aliases": [ "Cover", "image" ],			"label": "Cover", "description": "An appropriate image, such as a sheet music or single picture sleeve cover.", "example": "A file name, without the File: ", "type": "string", "suggested": true },		"cover_size": { "aliases": [ "Cover size", "cover size" ],			"label": "Cover_size", "type": "string" },		"alt": { "aliases": [ "Alt" ],			"label": "Alt", "description": "Alternative text for the cover image, to describe it to visually impaired readers.", "type": "string" },		"border": { "aliases": [ "Border" ],			"label": "Border", "description": "Set to yes to put a 1 pixel border around the image.", "type": "string" },		"caption": { "aliases": [ "Caption" ],			"label": "Caption", "description": "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.", "type": "string" },		"comment": { "aliases": [ "Comment" ],			"label": "Comment", "type": "string", "deprecated": "This parameter is no longer used." },		"type": { "aliases": [ "Type" ],			"label": "Type (\"song\", \"single\", \"promo\", or \"cover\")", "description": "Specify \"song\", \"single\", \"promo\", \"Instrumental\", \"Composition\", etc. This generates the header and color.", "type": "string", "suggested": true },		"artist": { "aliases": [ "Artist" ],			"label": "Artist", "description": "The name of the artist.", "type": "string", "suggested": true },		"album": { "aliases": [ "Album", "from_album", "from Album" ],			"label": "Album", "description": "The name of the album on which the song originally appeared.", "type": "string", "suggested": true },		"EP": { "label": "EP", "description": "The name of the EP on which the song originally appeared. Only use album or EP; both will not be displayed.", "type": "string" },		"English_title": { "aliases": [ "english_title" ],			"label": "English title", "description": "The English translation of the name of the song, if it is in another language.", "type": "string" },		"written": { "aliases": [ "Written" ],			"label": "Written", "description": "The date the song was written; this is usually used for songs created before music publishing or recording", "type": "date" },		"published": { "aliases": [ "Published" ],			"label": "Published", "description": "The date the song was published; this is usually used for songs created before the rise of music recording", "type": "date" },		"released": { "aliases": [ "Released" ],			"label": "Released", "description": "Date or year of earliest commercial release. ", "type": "string", "suggested": true },		"format": { "aliases": [ "Format" ],			"label": "Format", "description": "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.", "type": "string" },		"A-side": { "aliases": [ "a-side" ],			"label": "A-side", "description": "For singles: the name of A-side of the current or title single.", "type": "string" },		"B-side": { "aliases": [ "b-side" ],			"label": "B-side", "description": "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.", "type": "string" },		"recorded": { "aliases": [ "Recorded" ],			"label": "Recorded", "description": "The date(s) the song was recorded.", "type": "string", "suggested": true },		"venue": { "aliases": [ "Venue" ],			"label": "Venue", "description": "For live recordings, include the name of the venue (concert hall, stadium, etc.) and location.", "type": "string" },		"studio": { "aliases": [ "Studio" ],			"label": "Studio", "description": "If the song was recorded in a recording studio, enter the name and location.", "type": "string", "suggested": true },		"genre": { "aliases": [ "Genre" ],			"label": "Genre", "description": "The genre(s) that best describes the song. This must not be original research, and should be stated and referenced in the article.", "type": "string" },		"length": { "aliases": [ "Length" ],			"label": "Length", "description": "The length of the song in minutes and seconds, such as 3:45", "type": "number", "suggested": true },		"label": { "aliases": [ "Label" ],			"label": "Label", "description": "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.", "type": "string" },		"writer": { "aliases": [ "Writer", "songwriter", "Songwriter" ],			"label": "Songwriter(s)", "description": "Comma-separated list of persons credited with writing the song", "type": "string", "required": true, "example": "Billy Corgan, James Iha" },		"composer": { "aliases": [ "Composer" ],			"label": "Composer", "description": "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.", "type": "string" },		"lyricist": { "aliases": [ "Lyricist" ],			"label": "Lyricist", "description": "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.", "type": "string" },		"language": { "aliases": [ "Language" ],			"label": "Language", "description": "Only if the song is not in English, indicate the language.", "type": "string" },		"producer": { "aliases": [ "Producer" ],			"label": "Producer(s)", "description": "Comma-separated list of persons credited with the production", "type": "string", "suggested": true, "example": "Flood, Billy Corgan, Alan Moulder" },		"chronology": { "aliases": [ "Chronology" ],			"label": "Chronology", "description": "For singles: Header for the chronology section.", "type": "string", "default": "(Artist name) singles chronology" },		"prev_title": { "label": "Prev_title", "description": "The name of the previous single in the artist's chronolgy.", "type": "string" },		"prev_title2": { "label": "Prev_title2", "description": "The name of the previous single in the artist's chronolgy.", "type": "string" },		"prev_year": { "label": "Prev_year", "description": "The year of the previous single in the artist's chronology.", "type": "number" },		"title": { "label": "Title", "description": "The name of the current or subject single.", "type": "string" },		"title2": { "label": "Title2", "description": "For a double A-side single: the name of the second or flip-side of the current single in the artist's chronology.", "type": "string" },		"year": { "label": "Year", "description": "To change the automatically generated year: the year of the single in the artist's chronology.", "type": "number" },		"next_title": { "label": "Next_title", "description": "The name of the next single in the artist's chronology.", "type": "string" },		"next_title2": { "label": "Next_title2", "description": "For a double A-side single: the name of the second- or flip-side of the next single.", "type": "string" },		"next_year": { "label": "Next_year", "description": "The year of the next single in the artist's chronology.", "type": "number" },		"tracks": { "aliases": [ "Tracks" ],			"label": "Tracks", "description": "To add a full-album track listing.", "type": "string" },		"prev_track": { "label": "Prev_track", "type": "string", "deprecated": "No longer used." },		"track_no": { "label": "Track_no", "type": "number", "deprecated": "No longer used." },		"next_track": { "label": "Next_track", "type": "string", "deprecated": "No longer used." },		"ISWC": { "label": "ISWC", "type": "string", "deprecated": "No longer used." },		"prev": { "label": "Prev", "type": "string", "deprecated": "No longer used." },		"prev_no": { "label": "Prev_no", "type": "number", "deprecated": "No longer used." },		"next": { "label": "Next", "type": "string", "deprecated": "No longer used." },		"next_no": { "label": "Next_no", "type": "number", "deprecated": "No longer used." },		"misc": { "aliases": [ "Misc" ],			"label": "Misc", "description": "To add extra subtemplates, such as, , , , etc.", "type": "string" },		"": {},		"cover_upright": {}, "album_photo": {}, "notabs": {}, "video": { "label": "Has video?", "description": "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.", "type": "boolean", "suggested": true },		"spotify": { "label": "Spotify ID", "description": "Enter the song ID on Spotify, and this will generate a link to it", "type": "string", "suggested": true },		"prev_single": {}, "next_single": {}, "__µ": {}, "Last single": {}, "This single": {}, "lyrics": { "label": "Lyrics", "description": "Set to \"yes\" if there are lyrics. There should be a section on the page called \"Lyrics\"", "type": "boolean", "autovalue": "yes", "required": true }	},	"description": "An infobox for songs", "paramOrder": [ "name", "cover", "cover_size", "alt", "border", "caption", "type", "artist", "album", "EP", "language", "English_title", "A-side", "B-side", "written", "published", "released", "format", "recorded", "studio", "venue", "genre", "length", "label", "writer", "composer", "lyricist", "producer", "chronology", "prev_title", "prev_title2", "prev_year", "title", "title2", "year", "next_title", "next_title2", "next_year", "tracks", "prev_track", "track_no", "next_track", "misc", "ISWC", "comment", "prev", "prev_no", "next", "next_no", "",		"cover_upright", "album_photo", "lyrics", "notabs", "video", "spotify", "prev_single", "next_single", "__µ", "Last single", "This single" ] }