Difference between revisions of "Template:Discobox"

From MansunWiki
Jump to: navigation, search
m (Added more categories, removed pre-formatting for linking singles)
m
Line 13: Line 13:
 
}}
 
}}
 
|-
 
|-
| Name
+
{{#if:{{{Name|}}}|
| {{{Name |''Unknown''}}}{{{NameRef |}}}
+
{{!}} Name
|-
+
{{!}} {{{Name}}} <small>{{{NameRef |}}}</small>
| Tracks
+
{{!}}-
| {{{Tracks |''Unknown''}}}{{{TracksRef |}}}
+
}}
|-
+
{{#if:{{{Tracks|}}}|
{{#ifeq:{{{Length}}} | - ||
+
{{!}} Tracks
{{vb}} Total length
+
{{!}} {{{Tracks}}} <small>{{{TracksRef |}}}</small>
{{vb}} {{{Length |''Unknown''}}}{{{LengthRef |}}}
+
{{!}}-
{{vb}}-
+
 
}}
 
}}
| Recorded
+
{{#if:{{{Length|}}}|
| {{{Recorded |''Unknown''}}}{{{RecordedRef |}}}
+
{{!}} Track length
|-
+
{{!}} {{{Length}}} <small>{{{LengthRef |}}}</small>
| Writer/composer
+
{{!}}-
| {{{Writer |''Unknown''}}}{{{WriterRef |}}}
+
|-
+
| Producer
+
| {{{Producer |''Unknown''}}}{{{ProducerRef |}}}
+
|-
+
| Engineer
+
| {{{Engineer |''Unknown''}}}{{{EngineerRef |}}}
+
|-
+
| Mixer
+
| {{{Mixer |''Unknown''}}}{{{MixerRef |}}}
+
|-
+
| Mastered
+
| {{{Mastered |''Unknown''}}}{{{MasteredRef |}}}
+
|-
+
{{#ifeq:{{{Art}}} | - ||
+
{{vb}}Art work
+
{{vb}} {{{Art |''Unknown''}}}{{{ArtRef |}}}
+
{{vb}}-
+
 
}}
 
}}
{{#ifeq:{{{Publisher}}} | - ||
+
{{#if:{{{Recorded|}}}|
{{vb}} Publisher
+
{{!}} Recorded
{{vb}} {{{Publisher |''Unknown''}}}{{{PublisherRef |}}}
+
{{!}} {{{Recorded}}} <small>{{{RecordedRef |}}}</small>
{{vb}}-
+
{{!}}-
 +
{{#if:{{{Writer|}}}|
 +
{{!}} Writer/composer
 +
{{!}} {{{Writer}}} <small>{{{WriterRef |}}}</small>
 +
{{!}}-
 +
{{#if:{{{Producer|}}}|
 +
{{!}} Producer
 +
{{!}} {{{Producer}}} <small>{{{ProducerRef |}}}</small>
 +
{{!}}-
 +
{{#if:{{{Engineer|}}}|
 +
{{!}} Engineer
 +
{{!}} {{{Engineer}}} <small>{{{EngineerRef |}}}</small>
 +
{{!}}-
 +
{{#if:{{{Mixer|}}}|
 +
{{!}} Mixer
 +
{{!}} {{{Mixer}}} <small>{{{MixerRef |}}}</small>
 +
{{!}}-
 +
{{#if:{{{Mastered|}}}|
 +
{{!}} Mastered
 +
{{!}} {{{Mastered}}} <small>{{{MasteredRef |}}}</small>
 +
{{!}}-
 +
{{#if:{{{Art|}}}|
 +
{{!}}Art work
 +
{{!}} {{{Art}}} <small>{{{ArtRef |}}}</small>
 +
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Format}}} | - ||
+
{{#if:{{{Publisher|}}}|
{{vb}} Format(s)
+
{{!}} Publisher
{{vb}} {{{Format |''Unknown''}}}{{{FormatRef |}}}
+
{{!}} {{{Publisher}}} <small>{{{PublisherRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{CatNumber}}} | - ||
+
{{#if:{{{Format|}}}|
{{vb}} Catalogue №
+
{{!}} Format(s)
{{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}}
+
{{!}} {{{Format}}} <small>{{{FormatRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Release}}} | - ||
+
{{#if:{{{CatNumber|}}}|
{{vb}} Release date
+
{{!}} Catalogue №
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
+
{{!}} {{{CatNumber}}} <small>{{{CatNumberRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Chart}}} | - ||
+
{{#if:{{{Release|}}}|
{{vb}} Chart position
+
{{!}} Release date
{{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}}
+
{{!}} {{{Release}}} <small>{{{ReleaseRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Type}}} | single |
+
{{#if:{{{Chart|}}}|
{{vb}} Album
+
{{!}} Chart position
{{vb}} {{{Album |''Unknown''}}}
+
{{!}} {{{Chart}}} <small>{{{ChartRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Type}}} | single |
 +
{{!}} Album
 +
{{!}} {{{Album |''Unknown''}}}
 
}}
 
}}
 
|-
 
|-
Line 82: Line 92:
 
{{
 
{{
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
+
[[{{{PreviousLink}}} {{!}} {{{Previous}}}]]
 
}}<div>{{
 
}}<div>{{
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
Line 91: Line 101:
 
}}</div>{{
 
}}</div>{{
 
#if:{{{Next |}}} |
 
#if:{{{Next |}}} |
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
+
[[{{{NextLink}}} {{!}} {{{Next}}}]]
 
}}
 
}}
 
{{
 
{{
 
#if:{{{single1 |}}} |
 
#if:{{{single1 |}}} |
{{vb}}-
+
{{!}}-
! class="small" colspan="2" {{vb}} Singles
+
! class="small" colspan="2" {{!}} Singles
{{vb}}- style="text-align: center"
+
{{!}}- style="text-align: center"
{{vb}} colspan="2" {{vb}} [[File:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}}]]{{
+
{{!}} colspan="2" {{!}} [[File:{{{image1}}} {{!}} 70x70px {{!}} link={{{single1}}}]]{{
 
#if:{{{single2 |}}} |
 
#if:{{{single2 |}}} |
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}}]]
+
[[File:{{{image2}}} {{!}} 70x70px {{!}} link={{{single2}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single3 |}}} |
 
#if:{{{single3 |}}} |
[[File:{{{image3}}} {{vb}} 70x70px {{vb}} link={{{single3}}}]]
+
[[File:{{{image3}}} {{!}} 70x70px {{!}} link={{{single3}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single4 |}}} |
 
#if:{{{single4 |}}} |
[[File:{{{image4}}} {{vb}} 70x70px {{vb}} link={{{single4}}}]]
+
[[File:{{{image4}}} {{!}} 70x70px {{!}} link={{{single4}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single5 |}}} |
 
#if:{{{single5 |}}} |
[[File:{{{image5}}} {{vb}} 70x70px {{vb}} link={{{single5}}}]]
+
[[File:{{{image5}}} {{!}} 70x70px {{!}} link={{{single5}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single6 |}}} |
 
#if:{{{single6 |}}} |
[[File:{{{image6}}} {{vb}} 70x70px {{vb}} link={{{single6}}}]]
+
[[File:{{{image6}}} {{!}} 70x70px {{!}} link={{{single6}}}]]
 
}}
 
}}
 
}}
 
}}
Line 118: Line 132:
 
<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 22:37, 23 July 2015

{{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| single
Mansun release
Recorded {{{Recorded}}}
Writer/composer {{{Writer}}}
Producer {{{Producer}}}
Engineer {{{Engineer}}}
Mixer {{{Mixer}}}
Mastered {{{Mastered}}}
{{{Type}}} chronology
Insert current {{{Type}}}


Usage

{{Discobox
| Name = 
| Tracks = 
| Length = mm:ss
| Recorded = 
| Writer = 
| Producer = 
| Engineer = 
| Mixer = 
| 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)
}}