Difference between revisions of "Template:Infobox single/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (→‎Code: lowercase)
imported>Jc86035
m (TemplateData parameter aliases | Cleaned up using AutoEd)
Line 7: Line 7:
 
{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Songs||{{for|non-single songs|Template:Infobox song}}}}
 
{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Songs||{{for|non-single songs|Template:Infobox song}}}}
  
This is the template for a [[wiktionary:single|single]] (A- or B-side), '''not''' a [[wiktionary:song|song]].
+
This is the template for a [[wikt:single|single]] (A- or B-side), '''not''' a [[wikt:song|song]].
  
 
==Code==
 
==Code==
Line 35: Line 35:
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox single
 
{{Infobox single
| name          =  
+
| name          =
 
| cover        = <!-- just the file name -->
 
| cover        = <!-- just the file name -->
| border        =  
+
| border        =
| alt          =  
+
| alt          =
| caption      =  
+
| caption      =
| artist        =  
+
| artist        =
| album        =  
+
| album        =
| a-side        =  
+
| a-side        =
| b-side        =  
+
| b-side        =
 
| released      = <!-- {{start date|YYYY|MM|DD}} -->
 
| released      = <!-- {{start date|YYYY|MM|DD}} -->
| format        =  
+
| format        =
| recorded      =  
+
| recorded      =
 
| studio        =
 
| studio        =
 
| venue        =
 
| venue        =
| genre        =  
+
| genre        =
 
| length        = <!-- {{duration|m=MM|s=SS}} -->
 
| length        = <!-- {{duration|m=MM|s=SS}} -->
| label        =  
+
| label        =
| writer        =  
+
| writer        =
| producer      =  
+
| producer      =
| ISWC          =  
+
| ISWC          =
| chronology    =  
+
| chronology    =
| last_single  =  
+
| last_single  =
| this_single  =  
+
| this_single  =
| next_single  =  
+
| next_single  =
| misc          =  
+
| misc          =
 
}}
 
}}
 
</pre>
 
</pre>
Line 76: Line 76:
 
;Venue : For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate.
 
;Venue : For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate.
 
;Studio : If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see [[WP:OVERLINK]]). Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}
 
;Studio : If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see [[WP:OVERLINK]]). Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}
;Format: The way that the single was originally released; i.e. [[7-inch single]], [[12-inch single]], [[CD single]], [[cassette single]], [[Music download|digital download]] (note the piped download link). Do not use <code>{{!xt|"}}</code> or <code>{{!xt|&Prime;}}</code> (double quote) for inches (use 7-inch instead of 7"; if necessary to abbreviate, use 7 in). See [[WP:Units]]. Numbers should be expressed in figures rather than spelled out (use 10-inch instead of ten-inch). The format type should also be specified (single, record, etc.), rather than using the measurement alone. Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}
+
;Format: The way that the single was originally released; i.e. [[7-inch single]], [[12-inch single]], [[CD single]], [[cassette single]], [[Music download|digital download]] (note the piped download link). Do not use <code>{{!xt|"}}</code> or <code>{{!xt|}}</code> (double quote) for inches (use 7-inch instead of 7"; if necessary to abbreviate, use 7 in). See [[WP:Units]]. Numbers should be expressed in figures rather than spelled out (use 10-inch instead of ten-inch). The format type should also be specified (single, record, etc.), rather than using the measurement alone. Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}
 
;Genre: The music genre(s) that the single is from. These must not be [[WP:original research|original research]], and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}.
 
;Genre: The music genre(s) that the single is from. These must not be [[WP:original research|original research]], and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using commas, {{tl|flatlist}} or {{tl|hlist}}.{{r|lists}}.
 
;Length : The length should use {{Tl|Duration}} thus: <code><nowiki>{{Duration|m=3|s=45}}</nowiki></code>, renders as {{Duration|m=3|s=45}}, for 3 minutes 45 seconds
 
;Length : The length should use {{Tl|Duration}} thus: <code><nowiki>{{Duration|m=3|s=45}}</nowiki></code>, renders as {{Duration|m=3|s=45}}, for 3 minutes 45 seconds
Line 87: Line 87:
 
==Chronology==
 
==Chronology==
 
The chronology section should link to the previous single on the left and the next single on the right. Songs should be ordered based on the first release dates of their official singles.
 
The chronology section should link to the previous single on the left and the next single on the right. Songs should be ordered based on the first release dates of their official singles.
 
 
* For ''first'' singles the left box (the "{{mono|Last single=}}" field) should be left blank.
 
* For ''first'' singles the left box (the "{{mono|Last single=}}" field) should be left blank.
 
* For ''latest'' singles, the right box (the "{{mono|Next single=}}" field) should be left blank.
 
* For ''latest'' singles, the right box (the "{{mono|Next single=}}" field) should be left blank.
Line 94: Line 93:
  
 
Wikipedia's [[Wikipedia:Manual of Style (dates and numbers)#Date formatting|date style guidelines]] recommend that years should not be linked within the chronology section.
 
Wikipedia's [[Wikipedia:Manual of Style (dates and numbers)#Date formatting|date style guidelines]] recommend that years should not be linked within the chronology section.
 
+
* ''Note: album cover images should NOT be used in this section as they do not meet Wikipedia fair use requirements.''
*''Note: album cover images should NOT be used in this section as they do not meet Wikipedia fair use requirements.''
 
  
 
==Examples==
 
==Examples==
 
Here are some examples of articles using the infoboxes:
 
Here are some examples of articles using the infoboxes:
 
 
* "[[Country House]]"
 
* "[[Country House]]"
 
* "[[I Want to Hold Your Hand]]"
 
* "[[I Want to Hold Your Hand]]"
Line 108: Line 105:
 
== Notes ==
 
== Notes ==
 
{{reflist |refs=
 
{{reflist |refs=
<ref name="lists">For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of {{tl|flatlist}} or {{tl|hlist}} is preferred as they offer a benefit to users of screen readers. Vertical lists should always be implemented by {{tl|plainlist}} or {{tl|ubl}} and never by {{tag|br|s}} tags for reasons of [[Wikipedia:Manual of Style/Accessibility #Vertical lists|accessibility]].</ref>
+
<ref name="lists">For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of {{tl|flatlist}} or {{tl|hlist}} is preferred as they offer a benefit to users of screen readers. Vertical lists should always be implemented by {{tl|plainlist}} or {{tl|ubl}} and never by {{tag|br|s}} tags for reasons of [[Wikipedia:Manual of Style/Accessibility#Vertical lists|accessibility]].</ref>
 
}}
 
}}
  
Line 123: Line 120:
 
},
 
},
 
"params": {
 
"params": {
"Name": {
+
"ISWC": {
 +
"label": "ISWC",
 +
"description": "International Standard Musical Work Code",
 +
"example": "T-000.000.001-0",
 +
"type": "string",
 +
"aliases": [
 +
"iswc"
 +
]
 +
},
 +
"name": {
 +
"aliases": [
 +
"Name"
 +
],
 
"label": "Name",
 
"label": "Name",
 
"description": "The name of the single.",
 
"description": "The name of the single.",
 
"type": "string",
 
"type": "string",
"default": "(PAGENAME)",
+
"default": "(PAGENAME)"
"required": false
 
 
},
 
},
"Artist": {
+
"cover": {
"label": "Artist",
+
"aliases": [
"description": "The name of the artist.",
+
"image",
 +
"Cover"
 +
],
 +
"label": "Cover",
 +
"description": "An image of the single cover, a file name, e.g. 'Relax_single.jpg'. The image should be uploaded with the fair use tag {{Non-free album cover}}.",
 
"type": "string",
 
"type": "string",
"required": true,
 
 
"suggested": true
 
"suggested": true
 
},
 
},
"Cover": {
+
"border": {
"label": "Cover",
 
"description": "An image of the single cover, a file name, e.g. 'Relax_single.jpg'. The image should be uploaded with the fair use tag {{Non-free album cover}}.",
 
"type": "string",
 
"required": false,
 
 
"aliases": [
 
"aliases": [
"image",
+
"Border"
"cover"
 
 
],
 
],
"suggested": true
+
"label": "Border",
 +
"description": "Set to yes to put a 1 pixel border around the cover image.",
 +
"type": "string"
 
},
 
},
"Alt": {
+
"alt": {
"label": "Alt",
+
"aliases": [
 +
"Alt"
 +
],
 +
"label": "Alt text",
 
"description": "Alt text for the cover image, to describe it to visually impaired readers.",
 
"description": "Alt text for the cover image, to describe it to visually impaired readers.",
 
"type": "string",
 
"type": "string",
"required": false,
+
"suggested": true
 +
},
 +
"caption": {
 
"aliases": [
 
"aliases": [
"alt"
+
"Caption"
 
],
 
],
"suggested": true
 
},
 
"Caption": {
 
 
"label": "Caption",
 
"label": "Caption",
 
"description": "Caption for the cover image.",
 
"description": "Caption for the cover image.",
 +
"type": "string"
 +
},
 +
"artist": {
 +
"aliases": [
 +
"Artist"
 +
],
 +
"label": "Artist",
 +
"description": "The name of the artist.",
 
"type": "string",
 
"type": "string",
"required": false,
+
"required": true,
"aliases": [
+
"suggested": true
"caption"
 
]
 
 
},
 
},
"Border": {
+
"album": {
"label": "Border",
 
"description": "Set to yes to put a 1 pixel border around the cover image.",
 
"type": "string",
 
"required": false,
 
 
"aliases": [
 
"aliases": [
"border"
+
"from Album",
]
+
"from_album",
},
+
"Album"
"Album": {
+
],
 
"label": "Album",
 
"label": "Album",
 
"description": "If the single was also released on an album, enter the name of the album. If the album has a Wikipedia article, link the article name as usual. The template will italicize the album name. For guidelines on whether a single should be described as being from a particular album, see [[Template:infobox album#Template:Singles]].",
 
"description": "If the single was also released on an album, enter the name of the album. If the album has a Wikipedia article, link the article name as usual. The template will italicize the album name. For guidelines on whether a single should be described as being from a particular album, see [[Template:infobox album#Template:Singles]].",
 
"type": "string",
 
"type": "string",
 +
"suggested": true
 +
},
 +
"a-side": {
 
"aliases": [
 
"aliases": [
"from Album"
+
"A-side"
 
],
 
],
"required": false,
 
"suggested": true
 
},
 
"A-side": {
 
 
"label": "A-side",
 
"label": "A-side",
 
"description": "The A-side song title if different from the name. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.",
 
"description": "The A-side song title if different from the name. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.",
"type": "string",
+
"type": "string"
"required": false
 
 
},
 
},
"B-side": {
+
"b-side": {
 +
"aliases": [
 +
"B-side"
 +
],
 
"label": "B-side",
 
"label": "B-side",
 
"description": "Use this field to display the B-side song title appearing on the opposite side of the single. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.",
 
"description": "Use this field to display the B-side song title appearing on the opposite side of the single. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.",
"type": "string",
+
"type": "string"
"required": false
 
 
},
 
},
"Released": {
+
"released": {
 +
"aliases": [
 +
"Released"
 +
],
 
"label": "Released",
 
"label": "Released",
 
"description": "The earliest known date of commercial release, using a single occurrence of {{Start date}} as {{Start date|YYYY|MM|DD}}, for example {{Start date|2007|7|31}}. (Use {{Start date|YYYY|MM}} if only year and month are known, or {{Start date|YYYY}} for just a year).",
 
"description": "The earliest known date of commercial release, using a single occurrence of {{Start date}} as {{Start date|YYYY|MM|DD}}, for example {{Start date|2007|7|31}}. (Use {{Start date|YYYY|MM}} if only year and month are known, or {{Start date|YYYY}} for just a year).",
 
"type": "string",
 
"type": "string",
"required": false,
 
 
"suggested": true
 
"suggested": true
 
},
 
},
"Recorded": {
+
"recorded": {
 +
"aliases": [
 +
"Recorded"
 +
],
 
"label": "Recorded",
 
"label": "Recorded",
 
"description": "This field should include details on when and where the song was recorded. Separate multiple values using {{Plainlist}}.",
 
"description": "This field should include details on when and where the song was recorded. Separate multiple values using {{Plainlist}}.",
"type": "string",
+
"type": "string"
"required": false
+
},
 +
"venue": {
 +
"aliases": [
 +
"Venue"
 +
],
 +
"label": "Venue",
 +
"description": "For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate.",
 +
"type": "string"
 +
},
 +
"studio": {
 +
"aliases": [
 +
"Studio"
 +
],
 +
"label": "Studio",
 +
"description": "If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see WP:OVERLINK). Separate multiple values using commas, {{flatlist}} or {{hlist}}.",
 +
"type": "string"
 
},
 
},
"Format": {
+
"format": {
 +
"aliases": [
 +
"Format"
 +
],
 
"label": "Format",
 
"label": "Format",
 
"description": "The way that the single was released; i.e. 7-inch single, 12-inch single, CD single, cassette single, digital download (note the piped download link). Separate multiple values using {{Flatlist}}.",
 
"description": "The way that the single was released; i.e. 7-inch single, 12-inch single, CD single, cassette single, digital download (note the piped download link). Separate multiple values using {{Flatlist}}.",
"type": "string",
+
"type": "string"
"required": false
 
 
},
 
},
"Genre": {
+
"genre": {
 +
"aliases": [
 +
"Genre"
 +
],
 
"label": "Genre",
 
"label": "Genre",
 
"description": "The music genres that the single is from. These must not be original research, and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using {{Flatlist}}.",
 
"description": "The music genres that the single is from. These must not be original research, and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using {{Flatlist}}.",
 
"type": "string",
 
"type": "string",
"required": false,
 
 
"suggested": true
 
"suggested": true
 
},
 
},
"Length": {
+
"length": {
 +
"aliases": [
 +
"Length"
 +
],
 
"label": "Length",
 
"label": "Length",
 
"description": "The length should use {{Duration}} thus: {{Duration|m=3|s=45}}, renders as 3:45, for 3 minutes 45 seconds",
 
"description": "The length should use {{Duration}} thus: {{Duration|m=3|s=45}}, renders as 3:45, for 3 minutes 45 seconds",
 
"type": "string",
 
"type": "string",
"required": false,
 
 
"suggested": true
 
"suggested": true
 
},
 
},
"Label": {
+
"label": {
 +
"aliases": [
 +
"Label"
 +
],
 
"label": "Label",
 
"label": "Label",
 
"description": "This field should refer to the label on which the single/album was originally released. Where significantly different versions have been released (featuring alternate track listings) e.g. U.S. vs. UK, the later release date and/or record label should be mentioned in the article. Drop words like 'Records' from the end of the label's name (e.g. use [[Universal Records|Universal]] rather than [[Universal Records]]). Separate multiple values using {{Flatlist}}.",
 
"description": "This field should refer to the label on which the single/album was originally released. Where significantly different versions have been released (featuring alternate track listings) e.g. U.S. vs. UK, the later release date and/or record label should be mentioned in the article. Drop words like 'Records' from the end of the label's name (e.g. use [[Universal Records|Universal]] rather than [[Universal Records]]). Separate multiple values using {{Flatlist}}.",
 
"type": "string",
 
"type": "string",
"required": false,
 
 
"suggested": true
 
"suggested": true
 
},
 
},
"Writer": {
+
"producer": {
 +
"aliases": [
 +
"Producer"
 +
],
 +
"label": "Producer",
 +
"description": "The song's producer(s). Separate multiple values using {{Flatlist}}.",
 +
"type": "string"
 +
},
 +
"writer": {
 +
"aliases": [
 +
"Writer"
 +
],
 
"label": "Writer",
 
"label": "Writer",
 
"description": "The song's writer(s). Separate multiple values using {{Flatlist}}.",
 
"description": "The song's writer(s). Separate multiple values using {{Flatlist}}.",
"type": "string",
+
"type": "string"
"required": false
 
 
},
 
},
"Producer": {
+
"chronology": {
"label": "Producer",
+
"aliases": [
"description": "The song's producer(s). Separate multiple values using {{Flatlist}}.",
+
"Chronology"
"type": "string",
+
],
"required": false
 
},
 
"Chronology": {
 
 
"label": "Chronology",
 
"label": "Chronology",
 
"description": "Header for chronology section",
 
"description": "Header for chronology section",
"default": "(Artist name)",
 
 
"type": "string",
 
"type": "string",
"required": false
+
"default": "(Artist name)"
 
},
 
},
"Last single": {
+
"last_single": {
 +
"aliases": [
 +
"Last single"
 +
],
 
"label": "Previous single",
 
"label": "Previous single",
 
"description": "Previous single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate.",
 
"description": "Previous single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate.",
"type": "string",
+
"example": "\"[[Relax (song)|Relax]]\"<br />(1983)",
"required": false,
 
"example": "\"[[Relax (song)|Relax]]\"<br />(1983)"
 
},
 
"Next single": {
 
"label": "Next single",
 
"description": "Next single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate. Don't use this parameter with «Next single title» or «Next single year».",
 
"type": "string",
 
"required": false,
 
"example": " \"[[The Power of Love (Frankie Goes to Hollywood song)|The Power Of Love]]\"<br />(1984)"
 
},
 
"This single": {
 
"label": "This single",
 
"description": "Name (in bold and in quotation marks) and year of this single for the chronology.",
 
"type": "string",
 
"required": false,
 
"example": "\"'''Two Tribes'''\"<br />(1984)"
 
},
 
"Misc": {
 
"label": "Misc",
 
"description": "This field allows you to provide more infobox data such as additional chronologies using {{Extra chronology}}, a track listing using {{Extra track listing}}, extra covers using {{Extra album cover}}, or a sample of the music using {{Audiosample}}. Set 'Type=single' on those templates so the section titles use the same background color as the rest of the infobox.",
 
"type": "string",
 
"required": false
 
},
 
"Venue": {
 
"label": "Venue",
 
"description": "For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate.",
 
 
"type": "string"
 
"type": "string"
 
},
 
},
"Studio": {
+
"last_single_title": {
"label": "Studio",
+
"aliases": [
"description": "If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see WP:OVERLINK). Separate multiple values using commas, {{flatlist}} or {{hlist}}.",
+
"Last single title"
 +
],
 +
"label": "Last single title",
 +
"description": "Title of the previous single in the artist's chronology. Link when appropriate.",
 +
"example": "[[Relax (song)|Relax]]",
 
"type": "string"
 
"type": "string"
 
},
 
},
"ISWC": {
+
"last_single_year": {
"label": "ISWC",
+
"aliases": [
"description": "International Standard Musical Work Code",
+
"Last single year"
"example": "T-000.000.001-0",
+
],
"type": "string"
+
"label": "Last single year",
 +
"description": "Year of the previous single in the artist's chronology.",
 +
"example": "1983"
 
},
 
},
"Last single title": {
+
"this_single": {
"label": "Last single title",
+
"aliases": [
"description": "Title of the previous single in the artist's chronology. Link when appropriate.",
+
"This single"
"example": "[[Relax (song)|Relax]]",
+
],
 +
"label": "This single",
 +
"description": "Name (in bold and in quotation marks) and year of this single for the chronology.",
 +
"example": "\"'''Two Tribes'''\"<br />(1984)",
 
"type": "string"
 
"type": "string"
 
},
 
},
"Next single title": {
+
"next_single_title": {
 +
"aliases": [
 +
"Next single title"
 +
],
 
"label": "Next single title",
 
"label": "Next single title",
 
"description": "Title of the next single in the artist's chronology. Link when appropriate.",
 
"description": "Title of the next single in the artist's chronology. Link when appropriate.",
Line 312: Line 347:
 
"type": "string"
 
"type": "string"
 
},
 
},
"Last single year": {
+
"next_single_year": {
"label": "Last single year",
+
"aliases": [
"description": "Year of the previous single in the artist's chronology.",
+
"Next single year"
"example": "1983"
+
],
},
 
"Next single year": {
 
 
"label": "Next single year",
 
"label": "Next single year",
 
"description": "Year of the next single in the artist's chronology.",
 
"description": "Year of the next single in the artist's chronology.",
 
"example": "1984",
 
"example": "1984",
 +
"type": "string"
 +
},
 +
"next_single": {
 +
"aliases": [
 +
"Next single"
 +
],
 +
"label": "Next single",
 +
"description": "Next single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate. Don't use this parameter with «Next single title» or «Next single year».",
 +
"example": " \"[[The Power of Love (Frankie Goes to Hollywood song)|The Power Of Love]]\"<br />(1984)",
 +
"type": "string"
 +
},
 +
"misc": {
 +
"aliases": [
 +
"Misc"
 +
],
 +
"label": "Miscellaneous data",
 +
"description": "This field allows you to provide more infobox data such as additional chronologies using {{Extra chronology}}, a track listing using {{Extra track listing}}, extra covers using {{Extra album cover}}, or a sample of the music using {{Audiosample}}. Set 'Type=single' on those templates so the section titles use the same background color as the rest of the infobox.",
 
"type": "string"
 
"type": "string"
 
}
 
}
Line 326: Line 376:
 
"format": "block",
 
"format": "block",
 
"paramOrder": [
 
"paramOrder": [
"Name",
+
"name",
"Cover",
+
"cover",
"Border",
+
"border",
"Alt",
+
"alt",
"Caption",
+
"caption",
"Artist",
+
"artist",
"Album",
+
"album",
"A-side",
+
"a-side",
"B-side",
+
"b-side",
"Released",
+
"released",
"Recorded",
+
"recorded",
"Venue",
+
"venue",
"Studio",
+
"studio",
"Format",
+
"format",
"Genre",
+
"genre",
"Length",
+
"length",
"Label",
+
"label",
"Producer",
+
"producer",
 
"ISWC",
 
"ISWC",
"Writer",
+
"writer",
"Chronology",
+
"chronology",
"Last single title",
+
"last_single_title",
"Last single year",
+
"last_single_year",
"Last single",
+
"last_single",
"This single",
+
"this_single",
"Next single title",
+
"next_single_title",
"Next single year",
+
"next_single_year",
"Next single",
+
"next_single",
"Misc"
+
"misc"
 
]
 
]
 
}
 
}

Revision as of 08:33, 8 May 2017

Template:Music infobox header

Usage

This is the template for a single (A- or B-side), not a song.

Code

"Script error: No such module "If empty"."
Song by Script error: No such module "If empty".
from the album Script error: No such module "If empty".
ReleasedAugust 14, 1995 (1995-08-14) (UK)
Recorded1995
GenreBritpop
LengthLua error in package.lua at line 80: module 'Module:Duration' not found.
Label
Producer(s)Stephen Street
Blur singles chronology
"Script error: No such module "If empty"."
{{Infobox single
| name          =
| cover         = <!-- just the file name -->
| border        =
| alt           =
| caption       =
| artist        =
| album         =
| a-side        =
| b-side        =
| released      = <!-- {{start date|YYYY|MM|DD}} -->
| format        =
| recorded      =
| studio        =
| venue         =
| genre         =
| length        = <!-- {{duration|m=MM|s=SS}} -->
| label         =
| writer        =
| producer      =
| ISWC          =
| chronology    =
| last_single   =
| this_single   =
| next_single   =
| misc          =
}}

Parameters

Name 
This field should contain the name of the single. This field is mandatory.
Cover 
Upload a copy of the single cover (under fair use—use the tag "{{Non-free album cover}}"). Enter the file name only into the field: <Image Name>.jpg.
Border 
Type "yes" in this field to place a 1px border around the single's cover.
Alt 
Alt text for the cover image, to describe it to visually impaired readers. See WP:ALT.
Artist 
This field should contain the name of the artist. This field is mandatory.
Album 
If the single was also released on an album, enter the name of the album. If the album has a Wikipedia article, link the article name as usual. The template will italicize the album name. For guidelines on whether a single should be described as being from a particular album, see template:infobox album#Template:Singles.
A-side 
Use this field to display the A-side song title appearing on the opposite side of the single. If it has a Wikipedia article use a link.
B-side 
Use this field to display the B-side song title appearing on the opposite side of the single. If it has a Wikipedia article use a link. Only one of the fields "A-side" or "B-side" should be used.
Released 
This field should refer to the earliest known commercial release date, using a single occurrence of {{Start date}} as {{Start date|YYYY|MM|DD}}, for example "{{Start date|2007|7|31}}". (Use "{{Start date|YYYY|MM}}" if only year and month are known, or "{{Start date|YYYY}}" for just a year).
Recorded 
This field should include the date(s) the single was recorded. The location of the recording is now included in the Studio or Venue field.
Venue 
For live recordings, include the name of the venue (concert hall, stadium, etc.) and location. Link as appropriate.
Studio 
If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see WP:OVERLINK). Separate multiple values using commas, {{flatlist}} or {{hlist}}.[1]
Format
The way that the single was originally released; i.e. 7-inch single, 12-inch single, CD single, cassette single, digital download (note the piped download link). Do not use " or (double quote) for inches (use 7-inch instead of 7"; if necessary to abbreviate, use 7 in). See WP:Units. Numbers should be expressed in figures rather than spelled out (use 10-inch instead of ten-inch). The format type should also be specified (single, record, etc.), rather than using the measurement alone. Separate multiple values using commas, {{flatlist}} or {{hlist}}.[1]
Genre
The music genre(s) that the single is from. These must not be original research, and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using commas, {{flatlist}} or {{hlist}}.[1].
Length 
The length should use {{Duration}} thus: {{Duration|m=3|s=45}}, renders as Script error: No such module "Duration"., for 3 minutes 45 seconds
Label 
This field should refer to the label on which the single/album was originally released. Where significantly different versions have been released (featuring alternate track listings) e.g. U.S. vs. UK, the later release date and/or record label should be mentioned in the article. Drop words like "Records" from the end of the label's name (e.g. use [[Universal Records|Universal]] rather than [[Universal Records]]).
Producer 
This field allows display of the song's producer(s). Separate multiple values using commas, {{flatlist}} or {{hlist}}.[1]
ISWC 
International Standard Musical Work Code
Writer 
This field allows display of the song's writer(s). Separate multiple values using commas, {{flatlist}} or {{hlist}}.[1].
Misc 
This field allows you to provide more infobox data such as additional chronologies using {{Extra chronology}}, a track listing using {{Extra track listing}}, extra covers using {{Extra album cover}}, or a sample of the music using {{Audiosample}}. Set |Type=single on those templates so the section titles use the same background color as the rest of the infobox.

Chronology

The chronology section should link to the previous single on the left and the next single on the right. Songs should be ordered based on the first release dates of their official singles.

  • For first singles the left box (the "{{{1}}}" field) should be left blank.
  • For latest singles, the right box (the "{{{1}}}" field) should be left blank.

By default, the chronology section begins with an "artist Chronology" header. If you specify the optional "{{{1}}}" field, the text you supply will replace the "artist" portion of that header. This is useful when a single is released by two or more artists and you want to supply a chronology for each using the built-in chronology for one artist and the {{Extra chronology}} template for the other(s).

Wikipedia's date style guidelines recommend that years should not be linked within the chronology section.

  • Note: album cover images should NOT be used in this section as they do not meet Wikipedia fair use requirements.

Examples

Here are some examples of articles using the infoboxes:

Notes

  1. 1.0 1.1 1.2 1.3 1.4 For short horizontal lists of two or three items, comma separators are acceptable, but for longer lists the use of {{flatlist}} or {{hlist}} is preferred as they offer a benefit to users of screen readers. Vertical lists should always be implemented by {{plainlist}} or {{ubl}} and never by <br /> tags for reasons of accessibility.

Microformat

Template:UF-hcal

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox single

An Infobox for singles

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename Name

The name of the single.

Default
(PAGENAME)
Stringoptional
Covercover image Cover

An image of the single cover, a file name, e.g. 'Relax_single.jpg'. The image should be uploaded with the fair use tag {{Non-free album cover}}.

Stringsuggested
Borderborder Border

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

Stringoptional
Alt textalt Alt

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

Stringsuggested
Captioncaption Caption

Caption for the cover image.

Stringoptional
Artistartist Artist

The name of the artist.

Stringrequired
Albumalbum from Album from_album Album

If the single was also released on an album, enter the name of the album. If the album has a Wikipedia article, link the article name as usual. The template will italicize the album name. For guidelines on whether a single should be described as being from a particular album, see [[Template:infobox album#Template:Singles]].

Stringsuggested
A-sidea-side A-side

The A-side song title if different from the name. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.

Stringoptional
B-sideb-side B-side

Use this field to display the B-side song title appearing on the opposite side of the single. If it has a Wikipedia article use a link. Only one of the fields 'A-side' or 'B-side' should be used.

Stringoptional
Releasedreleased Released

The earliest known date of commercial release, using a single occurrence of {{Start date}} as {{Start date|YYYY|MM|DD}}, for example {{Start date|2007|7|31}}. (Use {{Start date|YYYY|MM}} if only year and month are known, or {{Start date|YYYY}} for just a year).

Stringsuggested
Recordedrecorded Recorded

This field should include details on when and where the song was recorded. Separate multiple values using {{Plainlist}}.

Stringoptional
Venuevenue Venue

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

Stringoptional
Studiostudio Studio

If the single was recorded in a recording studio, enter the name and location here. Link the studio, but not well-known cities (see WP:OVERLINK). Separate multiple values using commas, {{flatlist}} or {{hlist}}.

Stringoptional
Formatformat Format

The way that the single was released; i.e. 7-inch single, 12-inch single, CD single, cassette single, digital download (note the piped download link). Separate multiple values using {{Flatlist}}.

Stringoptional
Genregenre Genre

The music genres that the single is from. These must not be original research, and should be stated and referenced in a 'Composition' section of the article. Separate multiple values using {{Flatlist}}.

Stringsuggested
Lengthlength Length

The length should use {{Duration}} thus: {{Duration|m=3|s=45}}, renders as 3:45, for 3 minutes 45 seconds

Stringsuggested
Labellabel Label

This field should refer to the label on which the single/album was originally released. Where significantly different versions have been released (featuring alternate track listings) e.g. U.S. vs. UK, the later release date and/or record label should be mentioned in the article. Drop words like 'Records' from the end of the label's name (e.g. use [[Universal Records|Universal]] rather than [[Universal Records]]). Separate multiple values using {{Flatlist}}.

Stringsuggested
Producerproducer Producer

The song's producer(s). Separate multiple values using {{Flatlist}}.

Stringoptional
ISWCISWC iswc

International Standard Musical Work Code

Example
T-000.000.001-0
Stringoptional
Writerwriter Writer

The song's writer(s). Separate multiple values using {{Flatlist}}.

Stringoptional
Chronologychronology Chronology

Header for chronology section

Default
(Artist name)
Stringoptional
Last single titlelast_single_title Last single title

Title of the previous single in the artist's chronology. Link when appropriate.

Example
[[Relax (song)|Relax]]
Stringoptional
Last single yearlast_single_year Last single year

Year of the previous single in the artist's chronology.

Example
1983
Unknownoptional
Previous singlelast_single Last single

Previous single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate.

Example
"[[Relax (song)|Relax]]"<br />(1983)
Stringoptional
This singlethis_single This single

Name (in bold and in quotation marks) and year of this single for the chronology.

Example
"'''Two Tribes'''"<br />(1984)
Stringoptional
Next single titlenext_single_title Next single title

Title of the next single in the artist's chronology. Link when appropriate.

Example
[[The Power of Love (Frankie Goes to Hollywood song)|The Power Of Love]]
Stringoptional
Next single yearnext_single_year Next single year

Year of the next single in the artist's chronology.

Example
1984
Stringoptional
Next singlenext_single Next single

Next single in the artist's chronology (in quotation marks), above its year of release (in brackets). Link when appropriate. Don't use this parameter with «Next single title» or «Next single year».

Example
"[[The Power of Love (Frankie Goes to Hollywood song)|The Power Of Love]]"<br />(1984)
Stringoptional
Miscellaneous datamisc Misc

This field allows you to provide more infobox data such as additional chronologies using {{Extra chronology}}, a track listing using {{Extra track listing}}, extra covers using {{Extra album cover}}, or a sample of the music using {{Audiosample}}. Set 'Type=single' on those templates so the section titles use the same background color as the rest of the infobox.

Stringoptional

Tracking category

See also