Template:Infobox single/doc
40px | This is a documentation subpage for Template:Infobox single (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Code
"Country House" | ||||
---|---|---|---|---|
Single by Blur | ||||
from the album The Great Escape | ||||
Released | August 14, 1995UK) | (|||
Format | 7", cassette, CD | |||
Recorded | 1995 | |||
Genre | Britpop | |||
Length | 3:57 | |||
Label | Food, EMI | |||
Producer | Stephen Street | |||
Blur singles chronology | ||||
|
{{Infobox single <!-- See Wikipedia:WikiProject_Songs --> | Name = | Cover = <!-- just the file name --> | Cover size = | Border = | Alt = | Caption = | Artist = | Album = | A-side = | B-side = | Released = | Format = | Recorded = | Genre = | Length = | Label = | Writer = | Producer = | Certification = | 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}}"). Ideally the image should be 200px wide. Enter the file name only into the field:
<Image Name>.jpg
. - Cover size
- Enter # of pixels <200 to display the image smaller than usual. Simply type the number, do not include px (#, not #px).
- 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 WP:ALBUMS#Singles.
- A-side
- This field should only be used if there is a record title distinct from the A-side.
- Released
- This field should refer to the earliest known 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 details on when and where the song was recorded.
- Length
- The length should be formatted as mm:ss.
- 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
- The producer is not necessarily the same as the "Artist" field.
- Misc
- This field allows you to provide more infobox data such as additional chronologies using {{Extra chronology 2}}, a track listing using {{Extra track listing}}, or extra covers using {{Extra album cover}}. 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 "Last single=" field) should be left blank.
- For latest singles, the right box (the "Next single=" field) should be left blank.
By default, the chronology section begins with an "artist Chronology" header. If you specify the optional "Chronology=" 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 2}} 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:
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.
Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates). As an alternative, you may use or {{Start-date}} and {{End-date}}.
hCalendar uses HTML classes including:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- vevent
Please do not rename or remove these classes; nor collapse nested elements which use them.