Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (-stray brackets)
(Gave most vars *Refs)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="discobox {{{Type |}}}box wikitable infbox"
{| class="discobox wikitable infbox"
! colspan="5" | {{
! colspan="2" | {{
    #ifeq:{{{Type}}} |
#ifeq:{{{Type}}} |
          mixed promo compilation |
mixed promo compilation |
          Mixed promo compilation |
Mixed promo compilation |
          {{ #ifeq:{{{Type}}} |
{{ #ifeq:{{{Type}}} |
              compilation |
compilation |
              Compilation |
Compilation |
              Muse {{{Type |release}}}
Muse {{{Type |release}}}
          }}
}}
    }}
}}{{#if:{{{DetailsSection |}}} |
<div>[[#Details |details]]</div>
}}
|-
|-
| Name
| Name
| colspan="5" | {{{Name |''Unknown''}}}{{{NameRef |}}}
| {{{Name |''Unknown''}}}{{{NameRef |}}}
|-
|-
| Tracks
| Tracks
| colspan="5" | {{{Tracks |''Unknown''}}}
| {{{Tracks |''Unknown''}}}{{{TracksRef |}}}
|-
|-
{{#ifeq:{{{Length}}} | - ||
{{#ifeq:{{{Length}}} | - ||
{{td}} Total length
{{vb}} Total length
{{td}} colspan="5" {{td}} {{{Length |''Unknown''}}}
{{vb}} {{{Length |''Unknown''}}}{{{LengthRef |}}}
{{tr}}
{{vb}}-
}}
}}
| Recorded
| Recorded
| colspan="5" | {{{Recorded |''Unknown''}}}
| {{{Recorded |''Unknown''}}}{{{RecordedRef |}}}
|-
|-
| Writer/composer
| Writer/composer
| colspan="5" | {{{Writer |''Unknown''}}}
| {{{Writer |''Unknown''}}}{{{WriterRef |}}}
|-
|-
| Producer
| Producer
| colspan="5" |{{{Producer |''Unknown''}}}
| {{{Producer |''Unknown''}}}{{{ProducerRef |}}}
|-
|-
{{#ifeq:{{{Art}}} | - ||
{{#ifeq:{{{Art}}} | - ||
{{td}}Art work
{{vb}}Art work
{{td}} colspan="5" {{td}}{{{Art |''Unknown''}}}
{{vb}} {{{Art |''Unknown''}}}{{{ArtRef |}}}
{{tr}}
{{vb}}-
}}
}}
{{#ifeq:{{{Publisher}}} | - ||
{{#ifeq:{{{Publisher}}} | - ||
{{td}} Publisher
{{vb}} Publisher
{{td}} colspan="5" {{td}}{{{Publisher |''Unknown''}}}
{{vb}} {{{Publisher |''Unknown''}}}{{{PublisherRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{Format}}} | - ||
{{#ifeq:{{{Format}}} | - ||
{{td}} Format(s)
{{vb}} Format(s)
{{td}} colspan="5" {{td}}{{{Format |''Unknown''}}}
{{vb}} {{{Format |''Unknown''}}}{{{FormatRef |}}}
{{tr}}
{{vb}}-
}}
}}
{{#ifeq:{{{CatNumber}}} | - ||
{{#ifeq:{{{CatNumber}}} | - ||
{{td}} Catalogue number
{{vb}} Catalogue
{{td}} colspan="5" {{td}}{{{CatNumber |''Unknown''}}}
{{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{Release}}} | - ||
{{#ifeq:{{{Release}}} | - ||
{{td}} Release date
{{vb}} Release date
{{td}} colspan="5" {{td}}{{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{tr}}
{{vb}}-
}}
}}
{{#ifeq:{{{Chart}}} | - ||
{{#ifeq:{{{Chart}}} | - ||
{{td}} Chart position
{{vb}} Chart position
{{td}} colspan="5" {{td}}{{{Chart |''Unknown''}}}
{{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}}
{{tr}}  
{{vb}}-
}}
}}
{{#ifeq:{{{Type}}} | single
{{#ifeq:{{{Type}}} | single |
|{{td}} Album
{{vb}} Album
{{td}} colspan="5" {{td}}{{{Album |''Unknown''}}} | - ||
{{vb}} {{{Album |''Unknown''}}}
}}  
}}
|-
! colspan="2" | {{{Type}}} chronology
|-
|-
! colspan="5" class="TextToUpper" | {{{Type}}} chronology
| class="discobox-chron" colspan="2" |
|- style="text-align: center;"
{{
| width="150" | {{
#if:{{{Previous |}}} |
#if:{{{Previous |}}} |
    <span class="normal small">[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]</span>
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
}}
}}<div>{{
|<span class="small"><</span>
#if:{{{Previous |}}} |
| width="150" | <span class="bold small">{{{Name |Insert current {{{Type}}}}}}</span>
&#32;←&#32;
|<span class="small">></span>
}}</div><div class="discobox-chron-current">{{{Name |Insert current {{{Type}}}}}}</div><div>{{
| width="150" |{{
#if:{{{Next |}}} |
&#32;→&#32;
}}</div>{{
#if:{{{Next |}}} |
#if:{{{Next |}}} |
    <span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span>
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
}}
}}
{{
{{
#if:{{{single1 |}}} | {{vb}}-
#if:{{{single1 |}}} |
! colspan="5" {{vb}}<span class="small">Singles:</span>
{{vb}}-
{{tr}} style="text-align: center"
! class="small" colspan="2" {{vb}} Singles
{{td}} colspan="5" {{vb}}
{{vb}}- style="text-align: center"
{{#if:{{{single1 |}}} | [[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]] }}
{{vb}} colspan="2" {{vb}} [[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]]{{
{{#if:{{{single2 |}}} | [[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]] }}
#if:{{{single2 |}}} |
{{#if:{{{single3 |}}} | [[File:{{{image3}}} {{vb}} 70x70px {{vb}} link={{{single3}}} (single)]] }}
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]]
{{#if:{{{single4 |}}} | [[File:{{{image4}}} {{vb}} 70x70px {{vb}} link={{{single4}}} (single)]] }}
}}{{
{{#if:{{{single5 |}}} | [[File:{{{image5}}} {{vb}} 70x70px {{vb}} link={{{single5}}} (single)]] }}
#if:{{{single3 |}}} |
{{#if:{{{single6 |}}} | [[File:{{{image6}}} {{vb}} 70x70px {{vb}} link={{{single6}}} (single)]] }}
[[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 -->
|}<!-- remove the conditional and Cat:Disc once all existing discography pages have type defined -->
<includeonly>[[Category:Discography]]{{
<includeonly>[[Category:Discography]]{{
#ifeq:{{{Type |}}} | live |
#ifeq:{{{Type |}}} | live |
[[Category:Live releases]] | {{
[[Category:Live releases]] | {{
#if:{{{Type |}}} |
#if:{{{Type |}}} |
[[Category:{{{Type}}}s]]
[[Category:{{{Type}}}s]]
}}
}}
    }}
}}




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


== Usage ==
== Usage ==
Line 112: Line 125:
| 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 =  

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!