Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (Meh, will revisit this in the future)
(Fiddling around with layered nav again)
Line 1: Line 1:
{| class="discobox wikitable infbox"
{| class="discobox wikitable infbox"
! colspan="5" | {{
! colspan="2" | {{
#ifeq:{{{Type}}} |
#ifeq:{{{Type}}} |
mixed promo compilation |
mixed promo compilation |
Line 14: Line 14:
|-
|-
| Name
| Name
| colspan="5" | {{{Name |''Unknown''}}}{{{NameRef |}}}
| {{{Name |''Unknown''}}}{{{NameRef |}}}
|-
|-
| Tracks
| Tracks
| colspan="5" | {{{Tracks |''Unknown''}}}
| {{{Tracks |''Unknown''}}}
|-
|-
{{#ifeq:{{{Length}}} | - ||
{{#ifeq:{{{Length}}} | - ||
Line 25: Line 25:
}}
}}
| Recorded
| Recorded
| colspan="5" | {{{Recorded |''Unknown''}}}
| {{{Recorded |''Unknown''}}}
|-
|-
| Writer/composer
| Writer/composer
| colspan="5" | {{{Writer |''Unknown''}}}
| {{{Writer |''Unknown''}}}
|-
|-
| Producer
| Producer
| colspan="5" |{{{Producer |''Unknown''}}}
| {{{Producer |''Unknown''}}}
|-
|-
{{#ifeq:{{{Art}}} | - ||
{{#ifeq:{{{Art}}} | - ||
{{vb}}Art work
{{vb}}Art work
{{vb}} colspan="5" {{vb}}{{{Art |''Unknown''}}}
{{vb}} {{{Art |''Unknown''}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{Publisher}}} | - ||
{{#ifeq:{{{Publisher}}} | - ||
{{vb}} Publisher
{{vb}} Publisher
{{vb}} colspan="5" {{vb}}{{{Publisher |''Unknown''}}}
{{vb}} {{{Publisher |''Unknown''}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{Format}}} | - ||
{{#ifeq:{{{Format}}} | - ||
{{vb}} Format(s)
{{vb}} Format(s)
{{vb}} colspan="5" {{vb}}{{{Format |''Unknown''}}}
{{vb}} {{{Format |''Unknown''}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{CatNumber}}} | - ||
{{#ifeq:{{{CatNumber}}} | - ||
{{vb}} Catalogue №
{{vb}} Catalogue №
{{vb}} colspan="5" {{vb}}{{{CatNumber |''Unknown''}}}
{{vb}} {{{CatNumber |''Unknown''}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{Release}}} | - ||
{{#ifeq:{{{Release}}} | - ||
{{vb}} Release date
{{vb}} Release date
{{vb}} colspan="5" {{vb}}{{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{Chart}}} | - ||
{{#ifeq:{{{Chart}}} | - ||
{{vb}} Chart position
{{vb}} Chart position
{{vb}} colspan="5" {{vb}}{{{Chart |''Unknown''}}}
{{vb}} {{{Chart |''Unknown''}}}
{{vb}}-
{{vb}}-
}}
}}
{{#ifeq:{{{Type}}} | single |
{{#ifeq:{{{Type}}} | single |
{{vb}} Album
{{vb}} Album
{{vb}} colspan="5" {{vb}}{{{Album |''Unknown''}}}
{{vb}} {{{Album |''Unknown''}}}
}}
}}
|-
|-
! colspan="5" class="TextToUpper" | {{{Type}}} chronology
! colspan="2" class="TextToUpper" | {{{Type}}} chronology
|- style="text-align: center;"
|- style="text-align: center;"
| {{
| colspan="2" |
<div class="normal small" style="min-width: 5em; display: inline-block;">{{
#if:{{{Previous |}}} |
#if:{{{Previous |}}} |
<span class="normal small">[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]</span>
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
{{vb}}<span class="small"><</span>
}}</div><div class="small" style="display: inline-block;">{{
}}
#if:{{{Previous |}}} |
| <span class="bold small">{{{Name |Insert current {{{Type}}}}}}</span>
&#32;<&#32;
| {{
}}</div><div class="bold small" style="display: inline-block;">{{{Name |Insert current {{{Type}}}}}}</div><div class="small" style="display: inline-block">{{
#if:{{{Next |}}} |
&#32;>&#32;
}}</div><div class="small" style="min-width: 5em;  display: inline-block;">{{
#if:{{{Next |}}} |
#if:{{{Next |}}} |
{{vb}}<span class="small">></span>
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
{{vb}}<span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span>
}}</div>
}}
{{
{{  
#if:{{{single1 |}}} |
#if:{{{single1 |}}} |
{{vb}}-
{{vb}}-
! colspan="5" {{vb}}<span class="small">Singles</span>
! colspan="2" {{vb}} <span class="small">Singles</span>
{{vb}}- style="text-align: center"
{{vb}}- style="text-align: center"
{{vb}} colspan="5" {{vb}}
{{vb}} colspan="2" {{vb}}
{{#if:{{{single1 |}}} |
[[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]]
[[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]]
}}
{{#if:{{{single2 |}}} |
{{#if:{{{single2 |}}} |
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]]
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]]

Revision as of 13:26, 3 October 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}}}


Need to sort out all the rest of the variables

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!