Difference between revisions of "Template:Discobox"
Jump to navigation
Jump to search
m (Wehay, obfuscatus maximus) |
(Meh, fubar it up for now. Simplified greatly) |
||
Line 1: | Line 1: | ||
{| class="discobox {{{Type | | {| class="discobox {{{Type |}}}box wikitable infbox" | ||
! colspan="5" | {{ | ! colspan="5" | {{ | ||
#ifeq:{{{Type | #ifeq:{{{Type}}} | | ||
mixed promo compilation | | mixed promo compilation | | ||
Mixed promo compilation | | Mixed promo compilation | | ||
{{ #ifeq:{{{Type | {{ #ifeq:{{{Type}}} | | ||
compilation | | compilation | | ||
Compilation | | Compilation | | ||
Muse {{{Type | Muse {{{Type |release}}} | ||
}} | }} | ||
}} | }} | ||
Line 56: | Line 56: | ||
{{tr}} | {{tr}} | ||
}} | }} | ||
{{#ifeq:{{{Chart | {{#ifeq:{{{Chart}}} | - || | ||
{{td}} Chart position | {{td}} Chart position | ||
{{td}} colspan="5" {{td}}{{{Chart | {{td}} colspan="5" {{td}}{{{Chart |''Unknown''}}} | ||
{{tr}} | {{tr}} | ||
}} | }} | ||
{{#ifeq:{{{Type | {{#ifeq:{{{Type}}} | single | ||
|{{td}} Album | |{{td}} Album | ||
{{td}} colspan="5" {{td}}{{{Album |''Unknown''}}} | - || | {{td}} colspan="5" {{td}}{{{Album |''Unknown''}}} | - || | ||
}} | }} | ||
|- | |- | ||
! colspan="5" class="TextToUpper" | {{{Type | ! colspan="5" class="TextToUpper" | {{{Type}}} chronology | ||
|- style="text-align: center;" | |- style="text-align: center;" | ||
| width="150" | {{ | | width="150" | {{ | ||
#if:{{{Previous | #if:{{{Previous |}}} | | ||
<span class="normal small">[[{{{ | <span class="normal small">[[{{{PreviousLink}}} {{vb}} {{{Previous}}}]]</span> | ||
}} | }} | ||
|<span class="small"><</span> | |<span class="small"><</span> | ||
| width="150" | <span class="bold small">{{{Name |Insert current {{{Type | | width="150" | <span class="bold small">{{{Name |Insert current {{{Type}}}}}}</span> | ||
|<span class="small">></span> | |<span class="small">></span> | ||
| width="150" |{{ | | width="150" |{{ | ||
#if:{{{Next | #if:{{{Next |}}} | | ||
<span class="small">[[{{{ | <span class="small">[[{{{NextLink}}} {{vb}} {{{Next}}}]]</span> | ||
}} | }} | ||
{{ | {{ | ||
Line 93: | Line 93: | ||
|}<!-- 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>[[Category:Discography]]{{ | ||
#ifeq:{{{Type | #ifeq:{{{Type |}}}}}} | live | [[Category:Live releases]] | {{ | ||
#if:{{{Type | #if:{{{Type |}}} | [[Category:{{{Type |}}}s]] }} | ||
}} | }} | ||
Line 119: | Line 119: | ||
| Chart = | | Chart = | ||
| Type = type of release (album, EP, single ...) | | 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) |
Revision as of 23:03, 8 September 2011
Template:Td Total length
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:TdArt work
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Publisher
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Format(s)
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Catalogue number
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Release date
Template:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:Td Chart position
Template:Td colspan="5" Template:TdUnknownTemplate:Tr
-
Muse release | |||||
---|---|---|---|---|---|
Name | Unknown | ||||
Tracks | Unknown | ||||
Recorded | Unknown | ||||
Writer/composer | Unknown | ||||
Producer | 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!