Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (-stray brackets)
m (Used tabs to indent conditions)
Line 1: Line 1:
{| class="discobox {{{Type |}}}box wikitable infbox"
{| class="discobox {{{Type |}}}box wikitable infbox"
! colspan="5" | {{
! colspan="5" | {{
    #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}}}
          }}
}}
    }}
}}
|-
|-
| Name
| Name
Line 70: Line 70:
| width="150" | {{
| width="150" | {{
#if:{{{Previous |}}} |
#if:{{{Previous |}}} |
    <span class="normal small">[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]</span>
<span class="normal small">[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]</span>
}}
}}
|<span class="small"><</span>
|<span class="small"><</span>
Line 77: Line 77:
| width="150" |{{
| width="150" |{{
#if:{{{Next |}}} |
#if:{{{Next |}}} |
    <span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span>
<span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span>
}}
}}
{{
{{
Line 93: Line 93:
|}<!-- 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]]
}}
}}
    }}
}}





Revision as of 02:53, 9 September 2011

Template:Td Total length Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:TdArt work Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Publisher Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Format(s) Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Catalogue number Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Release date Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Chart position Template:Td colspan="5" Template:TdUnknownTemplate:Tr -
Muse release
Name Unknown
Tracks Unknown
Recorded Unknown
Writer/composer Unknown
Producer 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!