Template:Infobox song: Difference between revisions

From Savez
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 101: Line 101:
<!-- please place language and category links on the /doc page and not here -->
<!-- please place language and category links on the /doc page and not here -->
{{documentation}}
{{documentation}}
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The name or title of the song.",
"type": "string",
"default": "(PAGENAME)",
"required": true
},
"cover": {
"label": "Cover",
"description": "An appropriate image, such as a sheet music or single picture sleeve cover.",
"example": "A file name, without the File: <NAME.jpg>",
"type": "wiki-file-name",
"aliases": [
"image"
]
},
"cover_size": {
"label": "Cover_size",
"type": "number",
"deprecated": "Cover_upright should be used if needed"
},
"alt": {
"label": "Alt",
"description": "Alternative text for the cover image, to describe it to visually impaired readers.",
"type": "line"
},
"border": {
"label": "Border",
"description": "Set to yes to put a 1 pixel border around the image.",
"type": "line",
"autovalue": "yes",
"suggestedvalues": [
"yes"
]
},
"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"
},
"type": {
"label": "Type",
"description": "Specify \"song\", \"single\", \"Instrumental\", \"Composition\", etc. This generates the header and color.",
"type": "line",
"suggested": true,
"suggestedvalues": [
"single",
"song",
"promo",
"demo",
"remix single",
"instrumental",
"composition",
"hymn",
"nursery"
]
},
"artist": {
"label": "Artist",
"description": "The name of the artist.",
"type": "string",
"suggested": true
},
"album": {
"label": "Album",
"description": "The name of the album on which the song originally appeared.",
"type": "string"
},
"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": {
"label": "English title",
"description": "The English translation of the name of the song, if it is in another language.",
"type": "line"
},
"written": {
"label": "Written (date)",
"description": "The date the song was written; this is usually used for songs created before music publishing or recording",
"type": "date"
},
"published": {
"label": "Published (date)",
"description": "The date the song was published; this is usually used for songs created before the rise of music recording",
"type": "date"
},
"released": {
"label": "Released (date)",
"description": "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}}.",
"type": "date"
},
"A-side": {
"label": "A-side",
"description": "For singles: the name of A-side of the current or title single.",
"type": "string"
},
"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": {
"label": "Recorded (date)",
"description": "The date(s) the song was recorded.",
"type": "date"
},
"venue": {
"label": "Venue",
"description": "For live recordings, include the name of the venue (concert hall, stadium, etc.) and location.",
"type": "string"
},
"studio": {
"label": "Studio",
"description": "If the song was recorded in a recording studio, enter the name and location.",
"type": "string"
},
"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",
"suggested": true
},
"length": {
"label": "Length",
"description": "The length of the song, using {{Duration}}. To display 3 minutes 45 seconds as 3:45, enter {{Duration|m=3|s=45}}.",
"type": "number"
},
"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": {
"label": "Songwriter/Writer",
"description": "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.",
"type": "string"
},
"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": {
"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 \"songwriter/writer\" field instead.",
"type": "string"
},
"language": {
"label": "Language",
"description": "Only if the song is not in English, indicate the language.",
"type": "string"
},
"producer": {
"label": "Producer",
"description": "The person(s) who is credited with the record production.",
"type": "string"
},
"chronology": {
"label": "Chronology (artist)",
"description": "For singles: Replacement of artist's name for the chronology section.",
"type": "string"
},
"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": {
"label": "Tracks",
"description": "To add a full-album track listing.",
"type": "string"
},
"misc": {
"label": "Misc",
"description": "To add extra subtemplates, such as {{Extra chronology}}, {{Extra track listing}}, {{Extra album cover}}, {{Audio sample}}, etc.",
"type": "string"
},
"cover_upright": {
"label": "Cover_upright",
"type": "number"
},
"original_artist": {
"deprecated": true
},
"from_album": {
"deprecated": true
},
"__µ": {
"deprecated": true
}
},
"description": "An infobox for songs",
"paramOrder": [
"name",
"cover",
"cover_size",
"cover_upright",
"alt",
"border",
"caption",
"type",
"artist",
"album",
"EP",
"language",
"English_title",
"A-side",
"B-side",
"written",
"published",
"released",
"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",
"misc",
"original_artist",
"from_album",
"__µ"
],
"format": "{{_\n| _____________ = _\n}}\n"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:27, 14 July 2023

"Infobox song"
Song

An infobox for songs

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name or title of the song.

Default
(PAGENAME)
Stringrequired
Covercover image

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

Example
A file name, without the File: <NAME.jpg>
Fileoptional
Cover_sizecover_size

no description

Numberdeprecated
Cover_uprightcover_upright

no description

Numberoptional
Altalt

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

Lineoptional
Borderborder

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

Suggested values
yes
Auto value
yes
Lineoptional
Captioncaption

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
Typetype

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

Suggested values
single song promo demo remix single instrumental composition hymn nursery
Linesuggested
Artistartist

The name of the artist.

Stringsuggested
Albumalbum

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

Stringoptional
EPEP

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

Stringoptional
Languagelanguage

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

Stringoptional
English titleEnglish_title

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

Lineoptional
A-sideA-side

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

Stringoptional
B-sideB-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
Written (date)written

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

Dateoptional
Published (date)published

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

Dateoptional
Released (date)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}}.

Dateoptional
Recorded (date)recorded

The date(s) the song was recorded.

Dateoptional
Studiostudio

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

Stringoptional
Venuevenue

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

Stringoptional
Genregenre

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

Stringsuggested
Lengthlength

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

Numberoptional
Labellabel

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

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.

Stringoptional
Composercomposer

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

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

Stringoptional
Producerproducer

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

Stringoptional
Chronology (artist)chronology

For singles: Replacement of artist's name for the chronology section.

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

To add a full-album track listing.

Stringoptional
Miscmisc

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

Stringoptional
original_artistoriginal_artist

no description

Unknowndeprecated
from_albumfrom_album

no description

Unknowndeprecated
__µ__µ

no description

Unknowndeprecated