Infobox single/doc

Usage

Microformat

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project on English Wikipedia.

Sub-templates

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

TemplateData

This is the TemplateData documentation for the template used by the new VisualEditor.

Infobox single/doc

<templatedata> { "description": { "en": "An Infobox for singles", "de": "Vorlage:Infobox Single" }, "params": { "ISWC": { "label": "ISWC", "description": "International Standard Musical Work Code", "example": "T-000.000.001-0", "type": "string", "aliases": [ "iswc" ] }, "name": { "aliases": [ "Name" ], "label": "Name", "description": "The name of the single.", "type": "string", "default": "(PAGENAME)" }, "cover": { "aliases": [ "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 Template:Non-free album cover.", "type": "string", "suggested": true }, "border": { "aliases": [ "Border" ], "label": "Border", "description": "Set to yes to put a 1 pixel border around the cover image.", "type": "string" }, "alt": { "aliases": [ "Alt" ], "label": "Alt text", "description": "Alt text for the cover image, to describe it to visually impaired readers.", "type": "string", "suggested": true }, "caption": { "aliases": [ "Caption" ], "label": "Caption", "description": "Caption for the cover image.", "type": "string" }, "artist": { "aliases": [ "Artist" ], "label": "Artist", "description": "The name of the artist.", "type": "string", "required": true, "suggested": true }, "album": { "aliases": [ "from Album", "from_album", "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.", "type": "string", "suggested": true }, "released": { "aliases": [ "Released" ], "label": "Released", "description": "The earliest known date of commercial release, using a single occurrence of  () as  Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD), for example July 31, 2007 (2007-07-31). (Use  YYYY (YYYY-MM) if only year and month are known, or YYYY (YYYY) for just a year).", "type": "string", "suggested": true }, "recorded": { "aliases": [ "Recorded" ], "label": "Recorded",

"description": "This field should include details on when and where the song was recorded. Separate multiple values using

.",

"type": "string" }, "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,
or .",

"type": "string" }, "format": { "aliases": [ "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
.",

"type": "string" }, "genre": { "aliases": [ "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
. Note: Genre display is suppressed if there is a genre/SONGTITLE subpage of this template.",

"type": "string", "suggested": true }, "length": { "aliases": [ "Length" ], "label": "Length", "description": "The length should use thus: 3:45, renders as 3:45, for 3 minutes 45 seconds", "type": "string", "suggested": true }, "label": { "aliases": [ "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 rather than Universal Records). Separate multiple values using
.",

"type": "string", "suggested": true }, "producer": { "aliases": [ "Producer" ], "label": "Producer",

"description": "The song's producer(s). Separate multiple values using
.",

"type": "string" }, "writer": { "aliases": [ "Writer" ], "label": "Writer",

"description": "The song's writer(s). Separate multiple values using
.",

"type": "string" }, "chronology": { "aliases": [ "Chronology" ], "label": "Chronology", "description": "Header for chronology section", "type": "string", "default": "(Artist name)" }, "last_single": { "aliases": [ "Last 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.", "example": "\"Relax\"
(1983)", "type": "string" }, "last_single_title": { "aliases": [ "Last single title" ], "label": "Last single title", "description": "Title of the previous single in the artist's chronology. Link when appropriate.", "example": "Relax", "type": "string" }, "last_single_year": { "aliases": [ "Last single year" ], "label": "Last single year", "description": "Year of the previous single in the artist's chronology.", "example": "1983" }, "this_single": { "aliases": [ "This single" ], "label": "This single", "description": "Name (in bold and in quotation marks) and year of this single for the chronology.", "example": "\"Two Tribes\"
(1984)", "type": "string" }, "next_single_title": { "aliases": [ "Next single title" ], "label": "Next single title", "description": "Title of the next single in the artist's chronology. Link when appropriate.", "example": " The Power Of Love", "type": "string" }, "next_single_year": { "aliases": [ "Next single year" ], "label": "Next single year", "description": "Year of the next single in the artist's chronology.", "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\"
(1984)", "type": "string" }, "misc": { "aliases": [ "Misc" ], "label": "Miscellaneous data", "description": "This field allows you to provide more infobox data such as additional chronologies using



{{{This album}}}

, a track listing using , extra covers using , or a sample of the music using [[Image:{{{Audio file}}}|180px|center|noicon]][[:Image:{{{Audio file}}}|file info]] · help . Set 'Type=single' on those templates so the section titles use the same background color as the rest of the infobox.", "type": "string" }, "A-side": { "aliases": [ "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.", "type": "string" }, "B-side": { "aliases": [ "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.", "type": "string" } }, "format": "block", "paramOrder": [ "name", "cover", "border", "alt", "caption", "artist", "album", "A-side", "B-side", "released", "recorded", "venue", "studio", "format", "genre", "length", "label", "producer", "ISWC", "writer", "chronology", "last_single_title", "last_single_year", "last_single", "this_single", "next_single_title", "next_single_year", "next_single", "misc" ] } </templatedata>

See also