Difference between revisions of "Template:Discography list"

From blackwiki
Jump to navigation Jump to search
imported>Miketm
m
imported>Miketm
Line 4: Line 4:
 
<!-- --> |[[Image:Nocover.png|100px|No cover available]] }}
 
<!-- --> |[[Image:Nocover.png|100px|No cover available]] }}
 
|style="vertical-align: top; width: 100%;"|
 
|style="vertical-align: top; width: 100%;"|
'''''{{{Name}}}'''''{{#if:{{{from Album|}}}|&nbsp;from the album {{{from Album|}}}}} {{#if:{{{Other info|}}}|<small>({{{Other info|}}})</small>}}
+
'''{{#switch:{{{Type}}}|Single="|''}}{{{Name}}}{{#switch:{{{Type}}}|Single="|''}} {{#if:{{{from Album|}}}|&nbsp;from the album ''{{{from Album|}}}}}''''' {{#if:{{{Other info|}}}|<small>({{{Other info|}}})</small>}}
 
{{#if:{{{Released<includeonly>|</includeonly>}}} |*Released: {{{Released}}} }}{{#if:{{{Format<includeonly>|</includeonly>}}} |*Format: {{{Format}}} }}{{#if:{{{Label<includeonly>|</includeonly>}}} |*Label: {{{Label}}} }}{{#if:{{{Writer<includeonly>|</includeonly>}}} |*Writer(s): {{{Writer}}} }}{{#if:{{{Producer<includeonly>|</includeonly>}}} |*Producer(s): {{{Producer}}} }}{{#if:{{{Chart position<includeonly>|</includeonly>}}} |*Chart position(s): {{{Chart position}}} }}{{#if:{{{Sales<includeonly>|</includeonly>}}} |*Sales(s): {{{Sales}}} }}{{#if:{{{Certification<includeonly>|</includeonly>}}} |*Certification(s): {{{Certification}}} }}{{#if:{{{Singles<includeonly>|</includeonly>}}} |*Single(s): {{{Singles}}} }}
 
{{#if:{{{Released<includeonly>|</includeonly>}}} |*Released: {{{Released}}} }}{{#if:{{{Format<includeonly>|</includeonly>}}} |*Format: {{{Format}}} }}{{#if:{{{Label<includeonly>|</includeonly>}}} |*Label: {{{Label}}} }}{{#if:{{{Writer<includeonly>|</includeonly>}}} |*Writer(s): {{{Writer}}} }}{{#if:{{{Producer<includeonly>|</includeonly>}}} |*Producer(s): {{{Producer}}} }}{{#if:{{{Chart position<includeonly>|</includeonly>}}} |*Chart position(s): {{{Chart position}}} }}{{#if:{{{Sales<includeonly>|</includeonly>}}} |*Sales(s): {{{Sales}}} }}{{#if:{{{Certification<includeonly>|</includeonly>}}} |*Certification(s): {{{Certification}}} }}{{#if:{{{Singles<includeonly>|</includeonly>}}} |*Single(s): {{{Singles}}} }}
 
{{#if:{{{Tracks<includeonly>|</includeonly>}}} |*Track(s): {{{Tracks}}} }}
 
{{#if:{{{Tracks<includeonly>|</includeonly>}}} |*Track(s): {{{Tracks}}} }}

Revision as of 13:00, 11 April 2007

No cover available

{{{Name}}}

  • Released: {{{Released}}}
  • Format: {{{Format}}}
  • Label: {{{Label}}}
  • Writer(s): {{{Writer}}}
  • Producer(s): {{{Producer}}}
  • Chart position(s): {{{Chart position}}}
  • Sales(s): {{{Sales}}}
  • Certification(s): {{{Certification}}}
  • Single(s): {{{Singles}}}
  • Track(s): {{{Tracks}}}
See also Template:Infobox Singles discography

Syntax

{{Infobox Discography 
| Name          = 
| Cover         = 
| Released      = 
| Info          = 
| Type          = 
| Chart position= 
| Sales         = 
| Certification = 
| Label         = 
| Tracks        = 
}}

Example

Studio album

{{Infobox Discography
| Type          = Studio
| Name          = [[A Night at the Opera (Queen album)|A Night at the Opera]]
| Cover         = 
| Released      = [[November 21]], [[1975]]
| Label         = EMI/Parlophone/Elektra/Hollywood
| Chart position= #1 Australia, Finland, Netherlands, United Kingdom (platinum); #2 Spain, #4 Norway, United States (3x platinum); #5 German, #9 Austria, Japan.
| Tracks        =# "Death on Two Legs (Dedicated To..."
# "Lazing on a Sunday Afternoon"
# "I'm in Love with My Car"
# "[[You're My Best Friend]]"
# "[['39]]"
# "Sweet Lady"
# "Seaside Rendezvous"
# "The Prophet's Song"
# "[[Love of My Life]]"
# "Good Company"
# "[[Bohemian Rhapsody]]"
# "[[God Save the Queen]]"
}}
Template:PAGENAMEBASE discography

Single

{{Infobox Discography
| Type          = Single
| Cover         = 
| Name          = [[Bohemian Rhapsody]]
| from Album    = [[A Night at the Opera (Queen album)|A Night at the Opera]]
| Writer        = [[Freddie Mercury]]
| Released      = [[October 31]], [[1975]]
| Label         = EMI/Parlophone/Elektra/Hollywood
| Chart position= #1 Australia, Belgium, Canada, Ireland, Netherlands, New Zealand, Spain, UK (platinum); #2 South Africa, #4 Norway, Switzerland; #7 Germany, #9 US (gold), #18 Sweden, #48 Japan.
}}
Template:PAGENAMEBASE discography

Notes

The color of the header is dependent on the

| Type          = 

field. See Template:Infobox_Album/color for available arguments.