Difference between revisions of "Template:Discobox"

From MansunWiki
Jump to: navigation, search
m
m (Usage)
 
(17 intermediate revisions by the same user not shown)
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 |}}}
+
|-
+
{{#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}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Format}}} | - ||
+
{{#if:{{{Writer|}}}|
{{vb}} Format(s)
+
{{!}} Writer/composer
{{vb}} {{{Format |''Unknown''}}}{{{FormatRef |}}}
+
{{!}} {{{Writer}}} <small>{{{WriterRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{CatNumber}}} | - ||
+
{{#if:{{{Producer|}}}|
{{vb}} Catalogue №
+
{{!}} Producer
{{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}}
+
{{!}} {{{Producer}}} <small>{{{ProducerRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Release}}} | - ||
+
{{#if:{{{Engineer|}}}|
{{vb}} Release date
+
{{!}} Engineer
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
+
{{!}} {{{Engineer}}} <small>{{{EngineerRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Chart}}} | - ||
+
{{#if:{{{Mixer|}}}|
{{vb}} Chart position
+
{{!}} Mixer
{{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}}
+
{{!}} {{{Mixer}}} <small>{{{MixerRef |}}}</small>
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Type}}} | single |
+
{{#if:{{{Mastered|}}}|
{{vb}} Album
+
{{!}} Mastered
{{vb}} {{{Album |''Unknown''}}}
+
{{!}} {{{Mastered}}} <small>{{{MasteredRef |}}}</small>
 +
{{!}}-
 
}}
 
}}
|-
+
{{#if:{{{AltTitle|}}}|
! colspan="2" | {{{Type}}} chronology
+
{{!}}Alternative/Working Title
 +
{{!}} {{{AltTitle}}} <small>{{{AltTitleRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Art|}}}|
 +
{{!}}Art work
 +
{{!}} {{{Art}}} <small>{{{ArtRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Publisher|}}}|
 +
{{!}} Publisher
 +
{{!}} {{{Publisher}}} <small>{{{PublisherRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Format|}}}|
 +
{{!}} Format(s)
 +
{{!}} {{{Format}}} <small>{{{FormatRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{CatNumber|}}}|
 +
{{!}} Catalogue №
 +
{{!}} {{{CatNumber}}} <small>{{{CatNumberRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Release|}}}|
 +
{{!}} Release date
 +
{{!}} {{{Release}}} <small>{{{ReleaseRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Chart|}}}|
 +
{{!}} Chart position
 +
{{!}} {{{Chart}}} <small>{{{ChartRef |}}}</small>
 +
{{!}}-
 +
}}
 +
! colspan="2" | {{{Type}}} Chronology
 
|-
 
|-
 
| class="discobox-chron" colspan="2" |
 
| class="discobox-chron" colspan="2" |
 
{{
 
{{
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
+
[[{{{PreviousLink}}} {{!}} {{{Previous}}}]]
 
}}<div>{{
 
}}<div>{{
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
Line 82: Line 107:
 
}}</div>{{
 
}}</div>{{
 
#if:{{{Next |}}} |
 
#if:{{{Next |}}} |
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
+
[[{{{NextLink}}} {{!}} {{{Next}}}]]
 +
}}
 +
{{
 +
#if:{{{ep1 |}}} |
 +
{{!}}-
 +
! class="small" colspan="2" {{!}} EPs
 +
{{!}}- style="text-align: center"
 +
{{!}} colspan="2" {{!}} [[File:{{{epimage1}}} {{!}} 70x70px {{!}} link={{{ep1}}}]]{{
 +
#if:{{{ep2 |}}} |
 +
[[File:{{{epimage2}}} {{!}} 70x70px {{!}} link={{{ep2}}}]]
 +
}}
 +
{{
 +
#if:{{{ep3 |}}} |
 +
[[File:{{{epimage3}}} {{!}} 70x70px {{!}} link={{{ep3}}}]]
 +
}}
 +
{{
 +
#if:{{{ep4 |}}} |
 +
[[File:{{{epimage4}}} {{!}} 70x70px {{!}} link={{{ep4}}}]]
 +
}}
 +
{{
 +
#if:{{{ep5 |}}} |
 +
[[File:{{{epimage5}}} {{!}} 70x70px {{!}} link={{{ep5}}}]]
 +
}}
 +
{{
 +
#if:{{{ep6 |}}} |
 +
[[File:{{{epimage6}}} {{!}} 70x70px {{!}} link={{{ep6}}}]]
 +
}}
 
}}
 
}}
 
{{
 
{{
 
#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}}} (single)]]{{
+
{{!}} colspan="2" {{!}} [[File:{{{image1}}} {{!}} 70x70px {{!}} link={{{single1}}}]]{{
 
#if:{{{single2 |}}} |
 
#if:{{{single2 |}}} |
[[File:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]]
+
[[File:{{{image2}}} {{!}} 70x70px {{!}} link={{{single2}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single3 |}}} |
 
#if:{{{single3 |}}} |
[[File:{{{image3}}} {{vb}} 70x70px {{vb}} link={{{single3}}} (single)]]
+
[[File:{{{image3}}} {{!}} 70x70px {{!}} link={{{single3}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single4 |}}} |
 
#if:{{{single4 |}}} |
[[File:{{{image4}}} {{vb}} 70x70px {{vb}} link={{{single4}}} (single)]]
+
[[File:{{{image4}}} {{!}} 70x70px {{!}} link={{{single4}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single5 |}}} |
 
#if:{{{single5 |}}} |
[[File:{{{image5}}} {{vb}} 70x70px {{vb}} link={{{single5}}} (single)]]
+
[[File:{{{image5}}} {{!}} 70x70px {{!}} link={{{single5}}}]]
}}{{
+
}}
 +
{{
 
#if:{{{single6 |}}} |
 
#if:{{{single6 |}}} |
[[File:{{{image6}}} {{vb}} 70x70px {{vb}} link={{{single6}}} (single)]]
+
[[File:{{{image6}}} {{!}} 70x70px {{!}} link={{{single6}}}]]
 
}}
 
}}
 
}}
 
}}
Line 109: Line 164:
 
<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]]
Line 121: Line 176:
 
<pre>
 
<pre>
 
{{Discobox
 
{{Discobox
| Name =  
+
| Name =
| Tracks =  
+
| Tracks =  
| Total Length = mm:ss
+
| Tracks =  
| Recorded =  
+
| Length = mm:ss
| Writer =  
+
| LengthRef =
| Producer =  
+
| Recorded =
| Mastered =  
+
| RecordedRef =  
| Art =  
+
| Writer =
| Publisher =  
+
| WriterRef =  
| Format =  
+
| Producer =
| CatNumber =  
+
| ProducerRef =
| Release =  
+
| Engineer =
| Chart =  
+
| EngineerRef =
| Type = type of release (album, EP, single ...)
+
| Mixer =
| Previous = Previous release
+
| MixerRef =  
| PreviousLink = Page name of previous release
+
| Mastered =  
| Next = Next release
+
| MasteredRef =
| NextLink = Page name of next release
+
| AltTitle = Alternative or Working Title
| singlen = single n (only for albums)
+
| AltTitleRef = Above Reference
| imagen = image for single n (only for albums)
+
| Art =
 +
| ArtRef =  
 +
| Publisher =
 +
| PublisherRef =  
 +
| Format =
 +
| FormatRef =  
 +
| CatNumber =
 +
| CatNumberRef  =  
 +
| Release =
 +
| ReleaseRef =  
 +
| 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
 +
| epn = ep n (only for albums)
 +
| epimagen = image for ep n (only for albums)
 +
| singlen = single n (only for albums)
 +
| imagen = image for single n (only for albums)
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 00:06, 18 October 2015

Mansun release
{{{Type}}} Chronology
Insert current {{{Type}}}



Usage

{{Discobox
| Name		= 
| Tracks	= 
| Tracks	= 
| Length	= mm:ss
| LengthRef	= 
| Recorded	= 
| RecordedRef	= 
| Writer	= 
| WriterRef	= 
| Producer	= 
| ProducerRef	= 
| Engineer	= 
| EngineerRef	= 
| Mixer		= 
| MixerRef	= 
| Mastered	= 
| MasteredRef	= 
| AltTitle	= Alternative or Working Title
| AltTitleRef	= Above Reference
| Art		= 
| ArtRef	= 
| Publisher	= 
| PublisherRef	= 
| Format	= 
| FormatRef	= 
| CatNumber	= 
| CatNumberRef  = 
| Release	= 
| ReleaseRef	= 
| 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
| epn		= ep n (only for albums)
| epimagen	= image for ep n (only for albums)
| singlen	= single n (only for albums)
| imagen	= image for single n (only for albums)
}}