The Morrissey-solo Wiki is a continual work in progress, most of the data still needs to be populated. See the To Do page if you want to help.

Difference between revisions of "Template:Discobox"

From Morrissey-solo Wiki
Jump to navigation Jump to search
 
(41 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
compilation |
 
compilation |
 
Compilation |
 
Compilation |
MORRISSEY {{{Type |release}}}
+
{{uc: {{{ArtistType | Morrissey}}}}} {{{Type |release}}}
 
}}
 
}}
 
}}{{#if:{{{DetailsSection |}}} |
 
}}{{#if:{{{DetailsSection |}}} |
Line 16: Line 16:
 
| {{{Name |''Unknown''}}}{{{NameRef |}}}
 
| {{{Name |''Unknown''}}}{{{NameRef |}}}
 
|-
 
|-
| Tracks
+
| Release
| {{{Tracks |''Unknown''}}}{{{TracksRef |}}}
+
| {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
 
|-
 
|-
{{#ifeq:{{{Length}}} | - ||
+
{{#ifeq:{{#len:{{{Total Length |}}}}}|0||
{{vb}} Total length
+
{{vb}} Total Length
{{vb}} {{{Length |''Unknown''}}}{{{LengthRef |}}}
+
{{vb}} {{{Total Length |}}}{{{LengthRef |}}}
 
{{vb}}-
 
{{vb}}-
 
}}
 
}}
| Recorded
+
{{#ifeq:{{#len:{{{Recorded |}}}}}|0||
| {{{Recorded |''Unknown''}}}{{{RecordedRef |}}}
+
{{vb}} Recorded
|-
+
{{vb}} {{{Recorded |}}}{{{RecordedRef |}}}
| Writer/composer
+
{{vb}}-
| {{{Writer |''Unknown''}}}{{{WriterRef |}}}
+
}}
|-
+
{{#ifeq:{{#len:{{{Writer |}}}}}|0||
| Producer
+
{{vb}} Writer/composer
| {{{Producer |''Unknown''}}}{{{ProducerRef |}}}
+
{{vb}} {{{Writer |}}}{{{WriterRef |}}}
|-
+
{{vb}}-
{{#ifeq:{{{Art}}} | - ||
+
}}
{{vb}}Art work
+
{{#ifeq:{{#len:{{{Producer |}}}}}|0||
{{vb}} {{{Art |''Unknown''}}}{{{ArtRef |}}}
+
{{vb}} Producer
 +
{{vb}} {{{Producer |}}}{{{ProducerRef |}}}
 +
{{vb}}-
 +
}}
 +
{{#ifeq:{{#len:{{{Art |}}}}}|0||
 +
{{vb}} Art work
 +
{{vb}} {{{Art |}}}{{{ArtRef |}}}
 
{{vb}}-
 
{{vb}}-
 
}}
 
}}
{{#ifeq:{{{Vinyl Etching}}} | - ||
+
{{#ifeq:{{#len:{{{Vinyl Etching |}}}}}|0||
{{vb}}Vinyl Etching
+
{{vb}} Vinyl Etching
{{vb}} {{{Vinyl Etching |''Unknown''}}}{{{VinRef |}}}
+
{{vb}} {{{Vinyl Etching |}}}{{{VinRef |}}}
 
{{vb}}-
 
{{vb}}-
 
}}
 
}}
Line 53: Line 59:
 
{{vb}}-
 
{{vb}}-
 
}}
 
}}
{{#ifeq:{{{CatNumber}}} | - ||
+
{{#ifeq:{{#len:{{{Chart |}}}}}|0||
{{vb}} Catalogue №
 
{{vb}} {{{CatNumber |''Unknown''}}}{{{CatNumberRef |}}}
 
{{vb}}-
 
}}
 
{{#ifeq:{{{Release}}} | - ||
 
{{vb}} Release date
 
{{vb}} {{{Release |''Unknown''}}}{{{ReleaseRef |}}}
 
{{vb}}-
 
}}
 
{{#ifeq:{{{Chart}}} | - ||
 
 
{{vb}} Chart position
 
{{vb}} Chart position
{{vb}} {{{Chart |''Unknown''}}}{{{ChartRef |}}}
+
{{vb}} {{{Chart |}}}{{{ChartRef |}}}
 
{{vb}}-
 
{{vb}}-
 
}}
 
}}
Line 73: Line 69:
 
}}
 
}}
 
|-
 
|-
! colspan="2" | {{{Type}}} chronology
+
{{#ifeq: {{{ArtistType}}} | Covers ||! colspan="2" {{vb}} {{{Type}}} chronology
|-
+
{{vb}}-
| class="discobox-chron" colspan="2" |
+
{{vb}} class="discobox-chron" colspan="2" {{vb}}}}{{
{{
 
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
 
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
 
[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]
}}<div>{{
+
}}{{#ifeq: {{{ArtistType}}} | Covers ||<div>}}{{
 
#if:{{{Previous |}}} |
 
#if:{{{Previous |}}} |
 
&#32;←&#32;
 
&#32;←&#32;
}}</div><div class="discobox-chron-current">{{{Name |Insert current {{{Type}}}}}}</div><div>{{
+
}}{{#ifeq: {{{ArtistType}}} | Covers ||</div><div class="discobox-chron-current">{{{Name |Insert current {{{Type}}}}}}</div><div>}}{{
 
#if:{{{Next |}}} |
 
#if:{{{Next |}}} |
 
&#32;→&#32;
 
&#32;→&#32;
}}</div>{{
+
}}{{#ifeq: {{{ArtistType}}} | Covers ||</div>}}{{
 
#if:{{{Next |}}} |
 
#if:{{{Next |}}} |
 
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
 
[[{{{NextLink}}} {{vb}} {{{Next}}}]]
 +
}}
 +
{{vb}}-
 +
{{
 +
#if:{{{Reissue|}}}|{{Reissue Chronology|Type={{{Type}}}|Name={{{Name}}}|ReissueDescription={{{ReissueDescription}}}|ReissuePrevious={{{ReissuePrevious}}}|ReissuePreviousLink={{{ReissuePreviousLink}}}|ReissueNext={{{ReissueNext}}}|ReissueNextLink={{{ReissueNextLink}}}}}
 +
}}
 +
{{vb}}-
 +
{{
 +
#if:{{{Reissue2|}}}|{{Reissue2 Chronology|Type={{{Type}}}|Name={{{Name}}}|Reissue2Description={{{Reissue2Description}}}|Reissue2Previous={{{Reissue2Previous}}}|Reissue2PreviousLink={{{Reissue2PreviousLink}}}|Reissue2Next={{{Reissue2Next}}}|Reissue2NextLink={{{Reissue2NextLink}}}}}
 
}}
 
}}
 
{{
 
{{
Line 112: Line 115:
 
}}
 
}}
 
|}<!-- 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>{{#ifeq: {{{ArtistType}}} | Covers ||[[Category:{{{ArtistType | Morrissey}}} Discography]]}}{{
 
#ifeq:{{{Type |}}} | live |
 
#ifeq:{{{Type |}}} | live |
 
[[Category:Live releases]] | {{
 
[[Category:Live releases]] | {{
 
#if:{{{Type |}}} |
 
#if:{{{Type |}}} |
[[Category:{{{Type}}}s]]
+
[[Category:{{{ArtistType | Morrissey}}} {{{Type}}}s]]
 
}}
 
}}
 
}}
 
}}
 
+
{{#ifeq:{{{Type}}} | Single |
 
+
[[Category:{{{ArtistType | Morrissey}}} Songs]]
 +
}}
 
__TOC__</includeonly><noinclude>
 
__TOC__</includeonly><noinclude>
  
Line 137: Line 141:
 
| Publisher =  
 
| Publisher =  
 
| Format =  
 
| Format =  
| CatNumber =
 
 
| Release =  
 
| Release =  
 
| Chart =  
 
| Chart =  
 
| Type = type of release (album, EP, single ...)
 
| Type = type of release (album, EP, single ...)
 +
| ArtistType = Morrissey, The Smiths, ...
 
| Previous = Previous release
 
| Previous = Previous release
 
| PreviousLink = Page name of previous release
 
| PreviousLink = Page name of previous release
 
| Next = Next release
 
| Next = Next release
 
| NextLink = Page name of next release
 
| NextLink = Page name of next release
 +
| Reissue =
 +
| ReissueDescription = Descriptive text for chronology
 +
| ReissuePrevious = Previous release (Reissue)
 +
| ReissuePreviousLink = Page name of previous release (Reissue)
 +
| ReissueNext = Next release (Reissue)
 +
| ReissueNextLink = Page name of next release (Reissue)
 +
| Reissue2 =
 +
| Reissue2Description = Descriptive text for chronology
 +
| Reissue2Previous = Previous release (Reissue 2)
 +
| Reissue2PreviousLink = Page name of previous release (Reissue 2)
 +
| Reissue2Next = Next release (Reissue 2)
 +
| Reissue2NextLink = Page name of next release (Reissue 2)
 
| 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)
Line 151: Line 167:
  
 
Happy editing!
 
Happy editing!
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:56, 11 December 2021

MORRISSEY release
Name Unknown
Release Unknown
Publisher Unknown
Format(s) Unknown
{{{Type}}} chronology
Insert current {{{Type}}}


Usage

{{Discobox
| Name = 
| Tracks = 
| Total Length =
| Recorded = 
| Writer = 
| Producer = 
| Mastered = 
| Art = 
| Vinyl Etching =
| Publisher = 
| Format = 
| Release = 
| Chart = 
| Type = type of release (album, EP, single ...)
| ArtistType = Morrissey, The Smiths, ...
| Previous = Previous release
| PreviousLink = Page name of previous release
| Next = Next release
| NextLink = Page name of next release
| Reissue =
| ReissueDescription = Descriptive text for chronology
| ReissuePrevious = Previous release (Reissue)
| ReissuePreviousLink = Page name of previous release (Reissue)
| ReissueNext = Next release (Reissue)
| ReissueNextLink = Page name of next release (Reissue)
| Reissue2 =
| Reissue2Description = Descriptive text for chronology
| Reissue2Previous = Previous release (Reissue 2)
| Reissue2PreviousLink = Page name of previous release (Reissue 2)
| Reissue2Next = Next release (Reissue 2)
| Reissue2NextLink = Page name of next release (Reissue 2)
| singlen = single n (only for albums)
| imagen = image for single n (only for albums)
}}

Happy editing!