Difference between revisions of "Template:Discobox"
Jump to navigation
Jump to search
m |
(Gave most vars *Refs) |
||
(81 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="discobox {{{ | {| class="discobox wikitable infbox" | ||
! colspan="2" | {{ | |||
#ifeq:{{{Type}}} | | |||
mixed promo compilation | | |||
Mixed promo compilation | | |||
{{ #ifeq:{{{Type}}} | | |||
compilation | | |||
Compilation | | |||
Muse {{{Type |release}}} | |||
}} | |||
}}{{#if:{{{DetailsSection |}}} | | |||
<div>[[#Details |details]]</div> | |||
}} | |||
|- | |- | ||
| Name | |||
| {{{Name |''Unknown''}}}{{{NameRef |}}} | |||
|- | |- | ||
{{#ifeq:{{{Length}}}|-|| | | Tracks | ||
{{ | | {{{Tracks |''Unknown''}}}{{{TracksRef |}}} | ||
{{ | |- | ||
{{ | {{#ifeq:{{{Length}}} | - || | ||
{{vb}} Total length | |||
{{vb}} {{{Length |''Unknown''}}}{{{LengthRef |}}} | |||
{{vb}}- | |||
}} | }} | ||
| | | Recorded | ||
| {{{Recorded |''Unknown''}}}{{{RecordedRef |}}} | |||
|- | |- | ||
| | | Writer/composer | ||
| {{{Writer |''Unknown''}}}{{{WriterRef |}}} | |||
|- | |- | ||
| | | Producer | ||
| {{{Producer |''Unknown''}}}{{{ProducerRef |}}} | |||
|- | |- | ||
{{#ifeq:{{{ | {{#ifeq:{{{Art}}} | - || | ||
{{ | {{vb}}Art work | ||
{{ | {{vb}} {{{Art |''Unknown''}}}{{{ArtRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{Publisher}}} | - || | ||
{{ | {{vb}} Publisher | ||
{{ | {{vb}} {{{Publisher |''Unknown''}}}{{{PublisherRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{Format}}} | - || | ||
{{ | {{vb}} Format(s) | ||
{{ | {{vb}} {{{Format |''Unknown''}}}{{{FormatRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{CatNumber}}} | - || | ||
{{ | {{vb}} Catalogue № | ||
{{ | {{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{Release}}} | - || | ||
{{ | {{vb}} Release date | ||
{{ | {{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{Chart}}} | - || | ||
{{ | {{vb}} Chart position | ||
{{ | {{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}} | ||
{{ | {{vb}}- | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{Type}}} | single | | ||
{{ | {{vb}} Album | ||
{{ | {{vb}} {{{Album |''Unknown''}}} | ||
}} | }} | ||
{{#if:{{{ | |- | ||
{{ | ! colspan="2" | {{{Type}}} chronology | ||
{{ | |- | ||
{{ | | class="discobox-chron" colspan="2" | | ||
{{ | |||
#if:{{{Previous |}}} | | |||
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]] | |||
}}<div>{{ | |||
#if:{{{Previous |}}} | | |||
 ←  | |||
}}</div><div class="discobox-chron-current">{{{Name |Insert current {{{Type}}}}}}</div><div>{{ | |||
#if:{{{Next |}}} | | |||
 →  | |||
}}</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 --> | |}<!-- remove the conditional and Cat:Disc once all existing discography pages have type defined --> | ||
<includeonly>[[Category:Discography]]{{#ifeq:{{{ | <includeonly>[[Category:Discography]]{{ | ||
#ifeq:{{{Type |}}} | live | | |||
[[Category:Live releases]] | {{ | |||
#if:{{{Type |}}} | | |||
[[Category:{{{Type}}}s]] | |||
}} | |||
}} | |||
__TOC__</includeonly><noinclude> | |||
==Usage== | == Usage == | ||
<pre> | <pre> | ||
{{Discobox | {{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 | | 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) | | singlen = single n (only for albums) | ||
| imagen = image for single n (only for albums) | | imagen = image for single n (only for albums) |
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!