Difference between revisions of "Template:Discobox"
Jump to navigation
Jump to search
m (Git rid of that annoying hyphen-dash) |
(Not tabular data => removed cells, removed redundant logic) |
||
Line 1: | Line 1: | ||
{| class="discobox wikitable infbox" | {| class="discobox wikitable infbox" | ||
! colspan=" | ! colspan="2" | {{ | ||
#ifeq:{{{Type}}} | | #ifeq:{{{Type}}} | | ||
mixed promo compilation | | mixed promo compilation | | ||
Line 14: | Line 14: | ||
|- | |- | ||
| Name | | Name | ||
| {{{Name |''Unknown''}}}{{{NameRef |}}} | |||
|- | |- | ||
| Tracks | | Tracks | ||
| {{{Tracks |''Unknown''}}} | |||
|- | |- | ||
{{#ifeq:{{{Length}}} | - || | {{#ifeq:{{{Length}}} | - || | ||
Line 25: | Line 25: | ||
}} | }} | ||
| Recorded | | Recorded | ||
| {{{Recorded |''Unknown''}}} | |||
|- | |- | ||
| Writer/composer | | Writer/composer | ||
| {{{Writer |''Unknown''}}} | |||
|- | |- | ||
| Producer | | Producer | ||
| {{{Producer |''Unknown''}}} | |||
|- | |- | ||
{{#ifeq:{{{Art}}} | - || | {{#ifeq:{{{Art}}} | - || | ||
{{vb}}Art work | {{vb}}Art work | ||
{{vb}} {{{Art |''Unknown''}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{Publisher}}} | - || | {{#ifeq:{{{Publisher}}} | - || | ||
{{vb}} Publisher | {{vb}} Publisher | ||
{{vb}} {{{Publisher |''Unknown''}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{Format}}} | - || | {{#ifeq:{{{Format}}} | - || | ||
{{vb}} Format(s) | {{vb}} Format(s) | ||
{{vb}} {{{Format |''Unknown''}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{CatNumber}}} | - || | {{#ifeq:{{{CatNumber}}} | - || | ||
{{vb}} Catalogue № | {{vb}} Catalogue № | ||
{{vb}} {{{CatNumber |''Unknown''}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{Release}}} | - || | {{#ifeq:{{{Release}}} | - || | ||
{{vb}} Release date | {{vb}} Release date | ||
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{Chart}}} | - || | {{#ifeq:{{{Chart}}} | - || | ||
{{vb}} Chart position | {{vb}} Chart position | ||
{{vb}} {{{Chart |''Unknown''}}} | |||
{{vb}}- | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{Type}}} | single | | {{#ifeq:{{{Type}}} | single | | ||
{{vb}} Album | {{vb}} Album | ||
{{vb}} {{{Album |''Unknown''}}} | |||
}} | }} | ||
|- | |- | ||
! colspan=" | ! colspan="2" class="TextToUpper" | {{{Type}}} chronology | ||
|- style="text-align: center;" | |- style="text-align: center;" | ||
| {{ | | colspan="2" | {{ | ||
#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="bold small">{{{Name |Insert current {{{Type}}}}}}</span>{{ | |||
}} | |||
#if:{{{Next |}}} | | #if:{{{Next |}}} | | ||
<span class="small"> > </span><span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span> | |||
}} | }} | ||
{{ | {{ | ||
#if:{{{single1 |}}} | | #if:{{{single1 |}}} | | ||
{{vb}}- | {{vb}}- | ||
! | ! {{vb}}<span class="small">Singles</span> | ||
{{vb}}- style="text-align: center" | {{vb}}- style="text-align: center" | ||
{{vb}} | {{vb}} rowspan="2" {{vb}} [[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 19:20, 30 September 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!