Template:Infobox CD: Difference between revisions

m (Switched to date template.)
m (Text replacement - "{|class=" to "{| class=")
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''
|-
|-
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size}}}]]|}}
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{size}}}]]|}}
|-
|-
! style="width: 30%;" | Artist
! style="width: 30%;" | Artist
Line 8: Line 8:
|-
|-
{{#if:{{{native|}}}|! Native title
{{#if:{{{native|}}}|! Native title
{{!}} {{{native}}}
{{!}} {{{native}}} }}
{{!}}-}}
|-
{{#if:{{{aside|}}}|! A side
{{#if:{{{aside|}}}|! A side
{{!}} {{{aside}}}
{{!}} {{{aside}}} }}
{{!}}-}}
|-
{{#if:{{{bside|}}}|! B side
{{#if:{{{bside|}}}|! B side
{{!}} {{{bside}}}
{{!}} {{{bside}}} }}
{{!}}-}}
|-
{{#if:{{{single|}}}|! Single #
{{#if:{{{single|}}}|! Single #
{{!}} {{{single}}}
{{!}} {{{single}}} }}
{{!}}-}}
|-
{{#if:{{{album|}}}|! Album #
{{#if:{{{album|}}}|! Album #
{{!}} {{{album}}}
{{!}} {{{album}}} }}
{{!}}-}}
|-
! Released on
! Released on
| {{{release}}}
| {{{release}}}
Line 29: Line 29:
|-
|-
{{#if:{{{format|}}}|! Format
{{#if:{{{format|}}}|! Format
{{!}} {{{format}}}
{{!}} {{{format}}} }}
{{!}}-}}
|-
! Length
! Length
| {{{length}}}
| {{{length}}}
|-
|-
{{#if:{{{label|}}}|! Label
{{#if:{{{label|}}}|! Label
{{!}} {{{label}}}
{{!}} {{{label}}} }}
{{!}}-}}
|-
{{#if:{{{awards|}}}|! Awards
{{#if:{{{awards|}}}|! Awards
{{!}} {{{awards}}}
{{!}} {{{awards}}} }}
{{!}}-}}
|-
! Sales
! Sales
| {{{sales}}}
| {{{sales}}}
Line 50: Line 50:
! Next
! Next
| {{{next|None}}}
| {{{next|None}}}
|}
|}<noinclude>
<noinclude>


{{clear}}
{{clear}}
Line 113: Line 112:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{Infobox CD
{{Infobox CD
Line 138: Line 137:
</pre>
</pre>


[[Category:Infobox templates]]
[[Category:Information boxes]]</noinclude>
</noinclude>

Latest revision as of 08:53, September 14, 2022

Infobox CD
Artist {{{artist}}}
Released on {{{release}}}
Genre {{{genre}}}
Length {{{length}}}
Sales {{{sales}}}
{{{artist}}} {{{type}}} chronology
Previous None
Next None

Info

Place this at the top of music-related articles. This places an information box with data about the album or single.

Parameters

Parameter Mandatory Default Detailed description
image No The name of the image to show, extension included.
size No The image's size.
artist Yes Name of the artist(s).
aside No Title on the A side.
bside No Title on the B side.
native No Name of the single/album on its native language.
single No Number of the single. Ignore if it's an album.
album No Number of the album. Ignore if it's a single.
release Yes Release date. Use {{date}}.
genre Yes Musical genres included.
length Yes Length of the track (single), or length of all tracks combined (album).
awards No Awards the single/album won, if any.
sales Yes How many copies have been sold.
label No Label on the cover, if any.
type Yes "single" or "album".
previous No None Previous single or album in the chronology.
next No None Following single or album in the chronology.

Skeleton

{{Infobox CD
|image    = 
|size     = 
|artist   = 
|native   = 
|aside    = 
|bside    = 
|single   = 
|album    = 
|release  = 
|genre    = 
|format   = 
|length   =
|label    =  
|awards   = 
|sales    = 
|label    =
|type     = 
|previous = 
|next     = 
}}