Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Right then...)
 
(Gave most vars *Refs)
 
(112 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|style="border:1px #aaa solid;-moz-border-radius:0.5em;-khtml-border-radius:0.5em" cellspacing="2";
{| class="discobox wikitable infbox"
|- style="text-align:center;color:#ffffff"
! colspan="2" | {{
!style="background:#660066;-moz-border-radius:0.5em 0.5em 0 0" colspan="2" | Muse album
#ifeq:{{{Type}}} |
mixed promo compilation |
Mixed promo compilation |
{{ #ifeq:{{{Type}}} |
compilation |
Compilation |
Muse {{{Type |release}}}
}}
}}{{#if:{{{DetailsSection |}}} |
<div>[[#Details |details]]</div>
}}
|-
|-
| '''Name'''
| Name
|| {{{Name|''Unknown''}}}
| {{{Name |''Unknown''}}}{{{NameRef |}}}
|- style="background:#fcf"
| '''Tracks'''
|| {{{Tracks|''Unknown''}}}
|-
|-
{{#ifeq:{{{Length}}}|-||
| Tracks
{{td}} '''Total length'''
| {{{Tracks |''Unknown''}}}{{{TracksRef |}}}
{{td}}{{td}} {{{Length|''Unknown''}}}
|-
{{tr}} style="background:#fcf"
{{#ifeq:{{{Length}}} | - ||
{{vb}} Total length
{{vb}} {{{Length |''Unknown''}}}{{{LengthRef |}}}
{{vb}}-
}}
}}
| '''Recorded'''
| Recorded
|| {{{Recorded|''Unknown''}}}
| {{{Recorded |''Unknown''}}}{{{RecordedRef |}}}
|-  
|-
| '''Writer/composer'''
| Writer/composer
|| {{{Writer|''Unknown''}}}
| {{{Writer |''Unknown''}}}{{{WriterRef |}}}
|- style="background:#fcf"
|-
| '''Producer'''
| Producer
||{{{Producer|''Unknown''}}}
| {{{Producer |''Unknown''}}}{{{ProducerRef |}}}
|-  
|-
{{#ifeq:{{{Mastered}}}|-||
{{#ifeq:{{{Art}}} | - ||
{{td}} '''Mastered by'''
{{vb}}Art work
{{td}}{{td}}{{{Mastered|''Unknown''}}}
{{vb}} {{{Art |''Unknown''}}}{{{ArtRef |}}}
{{tr}} style="background:#fcf"
{{vb}}-
}}
}}
{{#ifeq:{{{Art}}}|-||
{{#ifeq:{{{Publisher}}} | - ||
{{td}}'''Art work'''
{{vb}} Publisher
{{td}}{{td}}{{{Art|''Unknown''}}}
{{vb}} {{{Publisher |''Unknown''}}}{{{PublisherRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{Publisher}}}|-||
{{#ifeq:{{{Format}}} | - ||
{{td}} '''Publisher'''
{{vb}} Format(s)
{{td}}{{td}}{{{Publisher|''Unknown''}}}
{{vb}} {{{Format |''Unknown''}}}{{{FormatRef |}}}
{{tr}} style="background:#fcf"
{{vb}}-
}}
}}
{{#ifeq:{{{Format}}}|-||
{{#ifeq:{{{CatNumber}}} | - ||
{{td}} '''Format(s)'''
{{vb}} Catalogue №
{{td}}{{td}}{{{Format|''Unknown''}}}
{{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{CatNumber}}}|-||
{{#ifeq:{{{Release}}} | - ||
{{td}} '''Catalogue number'''
{{vb}} Release date
{{td}}{{td}}{{{CatNumber|''Unknown''}}}
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{tr}} style="background:#fcf"
{{vb}}-
}}
}}
{{#ifeq:{{{Release}}}|-||
{{#ifeq:{{{Chart}}} | - ||
{{td}}'''Release date'''
{{vb}} Chart position
{{td}}{{td}}{{{Release|''Unknown''}}}
{{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{Chart Position}}}|-||
{{#ifeq:{{{Type}}} | single |
{{td}}'''Chart position'''
{{vb}} Album
{{td}}{{td}}{{{Chart Position|''Unknown''}}}
{{vb}} {{{Album |''Unknown''}}}
}}
}}
|}<includeonly>[[Category:Discography]]__NOTOC__</includeonly>
|-
<noinclude>
! colspan="2" | {{{Type}}} chronology
|-
| class="discobox-chron" colspan="2" |
{{
#if:{{{Previous |}}} |
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
}}<div>{{
#if:{{{Previous |}}} |
&#32;←&#32;
}}</div><div class="discobox-chron-current">{{{Name |Insert current {{{Type}}}}}}</div><div>{{
#if:{{{Next |}}} |
&#32;→&#32;
}}</div>{{
#if:{{{Next |}}} |
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
}}
{{
#if:{{{single1 |}}} |
{{vb}}-
! class="small" colspan="2" {{vb}} Singles
{{vb}}- style="text-align: center"
{{vb}} colspan="2" {{vb}} [[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]]{{
#if:{{{single2 |}}} |
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]]
}}{{
#if:{{{single3 |}}} |
[[File:{{{image3}}} {{vb}} 70x70px {{vb}} link={{{single3}}} (single)]]
}}{{
#if:{{{single4 |}}} |
[[File:{{{image4}}} {{vb}} 70x70px {{vb}} link={{{single4}}} (single)]]
}}{{
#if:{{{single5 |}}} |
[[File:{{{image5}}} {{vb}} 70x70px {{vb}} link={{{single5}}} (single)]]
}}{{
#if:{{{single6 |}}} |
[[File:{{{image6}}} {{vb}} 70x70px {{vb}} link={{{single6}}} (single)]]
}}
}}
|}<!-- remove the conditional and Cat:Disc once all existing discography pages have type defined -->
<includeonly>[[Category:Discography]]{{
#ifeq:{{{Type |}}} | live |
[[Category:Live releases]] | {{
#if:{{{Type |}}} |
[[Category:{{{Type}}}s]]
}}
}}
 


Need to sort out all the rest of the variables
__TOC__</includeonly><noinclude>


==Usage==
== Usage ==
<pre>
<pre>
{{Albumbox |
{{Discobox
| Name =  
| Name =  
| Tracks =  
| Tracks =  
| Total Length = mm:ss
| Total Length = mm:ss
| Recorded =  
| Recorded =  
| Writer =
| Writer =  
| Producer =
| Producer =  
| Mastered =
| Mastered =  
| Art =
| Art =  
| Publisher =
| Publisher =  
| Format =
| Format =  
| CatNumber =  
| CatNumber =  
| Release =  
| Release =  
| Chart Position =  
| Chart =  
| Type = type of release (album, EP, single ...)
| Previous = Previous release
| PreviousLink = Page name of previous release
| Next = Next release
| NextLink = Page name of next release
| singlen = single n (only for albums)
| imagen = image for single n (only for albums)
}}
}}
</pre>
</pre>

Latest revision as of 00:38, 25 December 2011

Muse release
Name Unknown
Tracks Unknown
Total length Unknown
Recorded Unknown
Writer/composer Unknown
Producer Unknown
Art work Unknown
Publisher Unknown
Format(s) Unknown
Catalogue № Unknown
Release date Unknown
Chart position Unknown
{{{Type}}} chronology
Insert current {{{Type}}}


Usage

{{Discobox
| Name = 
| Tracks = 
| Total Length = mm:ss
| Recorded = 
| Writer = 
| Producer = 
| Mastered = 
| Art = 
| Publisher = 
| Format = 
| CatNumber = 
| Release = 
| Chart = 
| Type = type of release (album, EP, single ...)
| Previous = Previous release
| PreviousLink = Page name of previous release
| Next = Next release
| NextLink = Page name of next release
| singlen = single n (only for albums)
| imagen = image for single n (only for albums)
}}

Happy editing!