Difference between revisions of "Template:Infobox single/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (date template in example) |
imported>PEJL (move release date info, clarify, tweak formatting) |
||
| Line 34: | Line 34: | ||
</pre> | </pre> | ||
* All fields except '''Name''' and '''Artist''' are optional, and can be omitted if desired. | * All fields except '''Name''' and '''Artist''' are optional, and can be omitted if desired. | ||
| − | * The '''A-side''' field should only be used if there is a record title distinct from the A-side | + | * The '''A-side''' field should only be used if there is a record title distinct from the A-side. |
| − | * The '''Length''' field should be formatted as mm:ss | + | * The '''Release date''' should refer to the <em>earliest</em> known date, using a ''single'' occurrence of {{tl|Start date}} as <nowiki>{{Start date|YYYY|MM|DD}}</nowiki>, for example "<nowiki>{{Start date|2007|7|31}}</nowiki>". (Omit the template if only year or year and month are known, for example "2007" or "July 2007"). |
| − | * The '''Producer''' field is not necessarily the same as the Artist field | + | * The '''Length''' field should be formatted as mm:ss. |
| + | * The '''Producer''' field is not necessarily the same as the '''Artist''' field. | ||
* '''Misc''' allows you to provide additional table data (additional chronologies using {{tl|Extra chronology 2}} or {{tl|Extra album cover 2}} for example). | * '''Misc''' allows you to provide additional table data (additional chronologies using {{tl|Extra chronology 2}} or {{tl|Extra album cover 2}} for example). | ||
| Line 78: | Line 79: | ||
| Next single = "[[Come As You Are]]"<br />(1992) | | Next single = "[[Come As You Are]]"<br />(1992) | ||
}}</pre> | }}</pre> | ||
| − | |||
| − | |||
| − | |||
==Microformat== | ==Microformat== | ||
Revision as of 17:21, 1 August 2007
Template:Template doc page viewed directly
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
{{Infobox Single <!-- See Wikipedia:WikiProject_Songs -->
| Name =
| Cover =
| Cover size =
| Caption =
| Artist =
| from Album =
| A-side =
| B-side =
| Released =
| Format =
| Recorded =
| Genre =
| Length =
| Label =
| Writer =
| Producer =
| Certification =
| Chart position =
| Last single =
| This single =
| Next single =
| Misc =
}}
- All fields except Name and Artist are optional, and can be omitted if desired.
- The A-side field should only be used if there is a record title distinct from the A-side.
- The Release date 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}}". (Omit the template if only year or year and month are known, for example "2007" or "July 2007").
- The Length field should be formatted as mm:ss.
- The Producer field is not necessarily the same as the Artist field.
- Misc allows you to provide additional table data (additional chronologies using {{Extra chronology 2}} or {{Extra album cover 2}} for example).
Example
- The following template code produced the infobox to the right.
| "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". | |
| Released | September 10, 1991 |
| Recorded | Sound City, Van Nuys, May–June 1991 |
| Genre | Grunge |
| Length | Lua error in package.lua at line 80: module 'Module:Duration' not found. |
| Label | DGC DGCCS7 (U.S., 7") DGCS (U.S., 12") DGCDS-21673 (U.S., CD) DGC (UK, 7") DGCT5 (UK, 12") DGCTP5 (UK, 12", picture disc) DGCCD5 (UK, CD) |
| Producer(s) | Butch Vig |
{{Infobox Single <!-- See Wikipedia:WikiProject_Songs -->
| Name = Smells Like Teen Spirit
| Cover =
| Artist = [[Nirvana (band)|Nirvana]]
| from Album = [[Nevermind]]
| Released = {{Start date|1991|09|10}}
| Format = [[CD single|CD]], [[Gramophone record|7"]], [[12-inch single|12"]]
| Recorded = Sound City, [[Van Nuys]], May–June 1991
| Genre = [[Grunge music|Grunge]]
| Length = 5:01
| Label = [[Geffen Records|DGC]]<br /><small>DGCCS7 ([[United States|U.S.]], 7")<br />DGCS (U.S., 12")<br />DGCDS-21673 (U.S., CD)<br />DGC ([[United Kingdom|UK]], 7")<br />DGCT5 (UK, 12")<br />DGCTP5 (UK, 12", picture disc)<br />DGCCD5 (UK, CD)
| Producer = [[Butch Vig]]
| Chart position =
* #6 <small>(U.S. [[Billboard Hot 100]])</small>
| Last single = "[[Here She Comes Now/Venus in Furs]]"<br />(1991)
| This single = "'''Smells Like Teen Spirit'''"<br />(1991)
| Next single = "[[Come As You Are]]"<br />(1992)
}}
Microformat