Template:Infobox CD: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{|class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" ! colspan="2" style="font-siz...")
 
(New documentation style.)
Line 7: Line 7:
| width="70%" | {{{artist}}}
| width="70%" | {{{artist}}}
|-
|-
{{#if:{{{native|}}}|! width="30%" style="background: #e6e9ff;" {{!}} Native Title
{{#if:{{{native|}}}|! width="30%" style="background: #e6e9ff;" {{!}} Native title
{{!}} width="70%" {{!}} {{{native}}}
{{!}} width="70%" {{!}} {{{native}}}
{{!}}-}}
{{!}}-}}
Line 22: Line 22:
{{!}} width="70%" {{!}} {{{album}}}
{{!}} width="70%" {{!}} {{{album}}}
{{!}}-}}
{{!}}-}}
! width="30%" style="background: #e6e9ff;" | Released
! width="30%" style="background: #e6e9ff;" | Released on
| width="70%" | {{{release}}}
| width="70%" | {{{release}}}
|-
|-
Line 43: Line 43:
| width="70%" | {{{sales}}}
| width="70%" | {{{sales}}}
|-
|-
! colspan=2 style="background: #e6e9ff;" align=center | {{{artist}}} {{{type}}}s Chronology
! colspan=2 style="background: #e6e9ff;" align=center | {{{artist}}} {{{type}}} chronology
|-
|-
{{#if:{{{previous|}}}|! width="30%" style="background: #e6e9ff;" {{!}} Previous
! width="30%" style="background: #e6e9ff;" | Previous
{{!}} width="70%" {{!}} {{{previous}}}
| width="70%" | {{{previous|None}}}
{{!}}-}}
|-
{{#if:{{{next|}}}|! width="30%" style="background: #e6e9ff;" {{!}} Next
! width="30%" style="background: #e6e9ff;" | Next
{{!}} width="70%" {{!}} {{{next}}}
| width="70%" | {{{next|None}}}
{{!}}-}}
|}
|}
<noinclude>
<noinclude>
{{clear}}
{{clear}}
==Use==
==Info==
Place this at the top of music-related articles. This places an information box with data about the album or single.
 
==Parameters==
{| class = "wikitable"
! 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 (month day, year). Don't forge the <nowiki><sup></sup></nowiki> on the day. Example: January 1<sup>st</sup>, 2014.
|-
! 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.
|}
 
==Template==
<pre>
<pre>
{{Infobox CD
{{Infobox CD
|image =  
|image   =  
|size =  
|size     =  
|artist =  
|artist   =  
|native =  
|native   =  
|aside =  
|aside   =  
|bside =  
|bside   =  
|single =  
|single   =  
|album =  
|album   =  
|release =  
|release =  
|genre =  
|genre   =  
|format =  
|format   =  
|length =
|length   =
|label =   
|label   =   
|awards =  
|awards   =  
|sales =  
|sales   =
|type =  
|label    =
|type     =  
|previous =  
|previous =  
|next =  
|next     =  
}}
}}
</pre>
</pre>
==Parameters==
*''image'': The image name, including the extension.
*''size'': The image's size, in pixels.
*''artist'': The album artist.
*''native'': Name in native language.
*''single'': Single #.
*''album'': Album#.
*''release'': Release date (Month Day, Year).
*''genre'': Genres included in the single/album.
*''length'': How long all of the songs are altogether.
*''awards'': Any awards the single/album won.
*''sales'': How many copies sold.
*''type'': Single or Album.
*''previous'': Previous single/album by the artist
*''next'': Next single/album by the artist


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 10:32, October 20, 2014

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 (month day, year). Don't forge the <sup></sup> on the day. Example: January 1st, 2014.
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.

Template

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