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

From blackwiki
Jump to navigation Jump to search
imported>PEJL
(rv, not implemented)
imported>PEJL
(move field notes out of example infobox for easier copy-and-pasting, tweak formatting and capitalization)
Line 4: Line 4:
 
{{esoteric}}
 
{{esoteric}}
  
:''For non-single songs or b-sides see [[Template:Song infobox]]''
+
{{for|non-single songs or B-sides|Template:Song infobox}}
  
 
== Usage ==
 
== Usage ==
Line 21: Line 21:
 
| Recorded      =  
 
| Recorded      =  
 
| Genre          =  
 
| Genre          =  
| Length        = mm:ss
+
| Length        =  
 
| Label          =  
 
| Label          =  
 
| Writer        =  
 
| Writer        =  
| Producer      = <!-- Please note: This is not necessarily the same as "Artist" -->
+
| Producer      =  
 
| Certification  =  
 
| Certification  =  
 
| Chart position =  
 
| Chart position =  
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.
* 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 '''Producer''' field is not necessarily the same as the Artist field
 
* '''Misc''' allows you to provide additional table data (additional chronologies using {{[[Template:Extra chronology 2|Extra chronology 2]]}} or {{[[Template:Extra album cover 2|Extra album cover 2]]}} for example).
 
* '''Misc''' allows you to provide additional table data (additional chronologies using {{[[Template:Extra chronology 2|Extra chronology 2]]}} or {{[[Template:Extra album cover 2|Extra album cover 2]]}} for example).
  
 
==Example==
 
==Example==
 
:''The following template code produced the infobox to the right.''
 
:''The following template code produced the infobox to the right.''
{{Infobox Single
+
{{Infobox Single <!-- See Wikipedia:WikiProject_Songs -->
 
| Name          = Smells Like Teen Spirit
 
| Name          = Smells Like Teen Spirit
 
| Cover          =  
 
| Cover          =  
Line 46: Line 48:
 
| Released      = [[September 10]], [[1991]]
 
| Released      = [[September 10]], [[1991]]
 
| Format        = [[CD single|CD]], [[Gramophone record|7"]], [[12-inch single|12"]]
 
| Format        = [[CD single|CD]], [[Gramophone record|7"]], [[12-inch single|12"]]
| Recorded      = Sound City, [[Van Nuys]]<br />May&ndash;June, 1991
+
| Recorded      = Sound City, [[Van Nuys]], May–June 1991
 
| Genre          = [[Grunge music|Grunge]]
 
| Genre          = [[Grunge music|Grunge]]
 
| Length        = 5:01
 
| Length        = 5:01
Line 58: Line 60:
 
}}
 
}}
  
<pre style="overflow:auto; margin-left:0">{{Infobox Single
+
<pre style="overflow:auto; margin-left:0">{{Infobox Single <!-- See Wikipedia:WikiProject_Songs -->
 
| Name          = Smells Like Teen Spirit
 
| Name          = Smells Like Teen Spirit
| Cover          =
+
| Cover          =  
 
| Artist        = [[Nirvana (band)|Nirvana]]
 
| Artist        = [[Nirvana (band)|Nirvana]]
 
| from Album    = [[Nevermind]]
 
| from Album    = [[Nevermind]]
 
| Released      = [[September 10]], [[1991]]
 
| Released      = [[September 10]], [[1991]]
 
| Format        = [[CD single|CD]], [[Gramophone record|7"]], [[12-inch single|12"]]
 
| Format        = [[CD single|CD]], [[Gramophone record|7"]], [[12-inch single|12"]]
| Recorded      = Sound City, [[Van Nuys]]<br />May&ndash;June, 1991
+
| Recorded      = Sound City, [[Van Nuys]], May–June 1991
 
| Genre          = [[Grunge music|Grunge]]
 
| Genre          = [[Grunge music|Grunge]]
 
| Length        = 5:01
 
| Length        = 5:01

Revision as of 20:10, 2 July 2007

Template:Template doc page viewed directly

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 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".
ReleasedSeptember 10, 1991
RecordedSound City, Van Nuys, May–June 1991
GenreGrunge
LengthLua error in package.lua at line 80: module 'Module:Duration' not found.
LabelDGC
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       = [[September 10]], [[1991]]
| 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)
}}