Template:Infobox song: Difference between revisions
MusikAnimal (talk | contribs) (Undo revision 278 by MusikAnimal (talk)) |
MusikAnimal (talk | contribs) No edit summary |
||
Line 67: | Line 67: | ||
| class17 = hlist | | class17 = hlist | ||
| label40 = <span class="nowrap"> | | label40 = <span class="nowrap">Songwriter(s)</span> | ||
| data40 = {{{writer|{{{Writer|}}}}}} | | data40 = {{{writer|{{{Writer|}}}}}} | ||
| class40 = hlist | | class40 = hlist | ||
| label41 = <span class="nowrap"> | | label41 = <span class="nowrap">Composer(s)</span> | ||
| data41 = {{{composer|{{{Composer|}}}}}} | | data41 = {{{composer|{{{Composer|}}}}}} | ||
| class41 = hlist | | class41 = hlist | ||
| label42 = <span class="nowrap"> | | label42 = <span class="nowrap">Lyricist(s)</span> | ||
| data42 = {{{lyricist|{{{Lyricist|}}}}}} | | data42 = {{{lyricist|{{{Lyricist|}}}}}} | ||
| class42 = hlist | | class42 = hlist | ||
| label43 = <span class="nowrap"> | | label43 = <span class="nowrap">Producer(s)</span> | ||
| data43 = {{{producer|{{{Producer|}}}}}} | | data43 = {{{producer|{{{Producer|}}}}}} | ||
| class43 = hlist | | class43 = hlist |
Revision as of 00:21, 2 April 2020
"Infobox song" | |
---|---|
Song |
This template uses Lua: |
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name Name title | The name or title of the song.
| String | required |
Cover | cover Cover image | An appropriate image, such as a sheet music or single picture sleeve cover.
| String | suggested |
Cover_size | cover_size Cover size cover size | no description | String | optional |
Alt | alt Alt | Alternative text for the cover image, to describe it to visually impaired readers. | String | optional |
Border | border Border | Set to yes to put a 1 pixel border around the image. | String | optional |
Caption | caption Caption | Caption for the image; this will overwrite automatically generated <"Song" cover> when a file is added to the "caption" field
| String | optional |
Type ("song", "single", "promo", "cover", "composition") | type Type | Specify "song", "single", "promo", "Instrumental", "Composition", etc. This generates the header and color. | String | suggested |
Artist | artist Artist | The name of the artist. | String | suggested |
Album | album Album from_album from Album | The name of the album on which the song originally appeared. | String | suggested |
EP | EP | The name of the EP on which the song originally appeared. Only use album or EP; both will not be displayed. | String | optional |
A-side | A-side a-side | For singles: the name of A-side of the current or title single. | String | optional |
B-side | B-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. | String | optional |
Written | written Written | The date the song was written; this is usually used for songs created before music publishing or recording | Date | optional |
Published | published Published | The date the song was published; this is usually used for songs created before the rise of music recording | Date | optional |
Released | released Released | Date or year of earliest commercial release. | String | suggested |
Format | format 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. | String | optional |
Recorded | recorded Recorded | The date(s) the song was recorded. | String | suggested |
Studio | studio Studio | If the song was recorded in a recording studio, enter the name and location. | String | suggested |
Venue | venue Venue | For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. | String | optional |
Genre | genre Genre | The genre(s) that best describes the song. This must not be original research, and should be stated and referenced in the article. | String | optional |
Length | length Length | The length of the song in minutes and seconds, such as 3:45 | Number | suggested |
Label | label 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. | String | optional |
Songwriter(s) | writer Writer songwriter Songwriter | Comma-separated list of persons credited with writing the song
| String | required |
Composer | composer 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. | String | optional |
Lyricist | lyricist 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. | String | optional |
Producer(s) | producer Producer | Comma-separated list of persons credited with the production
| String | suggested |
Chronology | chronology Chronology | For singles: Header for the chronology section.
| String | optional |
Title | title | The name of the current or subject single. | String | optional |
Title2 | title2 | For a double A-side single: the name of the second or flip-side of the current single in the artist's chronology. | String | optional |
Year | year | To change the automatically generated year: the year of the single in the artist's chronology. | Number | optional |
Tracks | tracks Tracks | To add a full-album track listing. | String | optional |
Misc | misc Misc | To add extra subtemplates, such as {{Extra chronology}}, {{Extra track listing}}, {{Extra album cover}}, {{Audio sample}}, etc. | String | optional |
ISWC | ISWC | no description | String | deprecated |
Comment | comment Comment | no description | String | deprecated |
Lyrics | lyrics | Set to "yes" if there are lyrics. There should be a section on the page called "Lyrics"
| Boolean | required |
notabs | notabs | no description | Unknown | optional |
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. | Boolean | suggested |
Spotify ID | spotify | Enter the song ID on Spotify, and this will generate a link to it | String | suggested |
Discogs master ID | discogs | no description | Number | optional |
MusicBrainz release-group ID | musicbrainz | no description | String | optional |
Side project of | side_project | The name of the band member, etc.
| Page name | optional |
Original artist | original_artist | The artist who originally wrote or takes credit for this song | String | optional |
Nonstandard artist | nonstandard_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.
| Boolean | optional |
Is EP | is_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. | Boolean | optional |
Tracking categories
- Category:Pages using infobox song with deprecated parameters (173)
- Category:Pages using infobox song with unknown parameters (0)
- Category:Infobox song with A-side or B-side quote formatting fix needed (0)
- Category:Songs with unknown writers (59)
- Category:Song articles with both composer and songwriter (0)
- Category:Song articles with both lyricist and songwriter (0)
- Category:Song articles with lyricist but not composer (0)
- Category:Music infoboxes with unknown value for type (0)
- Category:Music infoboxes with malformed table placement (0)
- Category:Music infoboxes with Module:String errors (0)
- Category:Duration without hAudio microformat (1)
See also
The above documentation is transcluded from Template:Infobox song/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |