Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (Removed unneeded trailing white-space)
m (+space)
Line 12: Line 12:
|-
|-
| '''Name'''
| '''Name'''
| colspan="5" | {{{Name|''Unknown''}}}{{{NameRef|}}}
| colspan="5" | {{{Name |''Unknown''}}}{{{NameRef |}}}
|- class="even"
|- class="even"
| '''Tracks'''
| '''Tracks'''
| colspan="5" | {{{Tracks|''Unknown''}}}
| colspan="5" | {{{Tracks |''Unknown''}}}
|-
|-
{{#ifeq:{{{Length}}}|-||
{{#ifeq:{{{Length}}} | - ||
{{td}} '''Total length'''
{{td}} '''Total length'''
{{td}} colspan="5" {{td}} {{{Length|''Unknown''}}}
{{td}} colspan="5" {{td}} {{{Length |''Unknown''}}}
{{tr}} class="even"
{{tr}} class="even"
}}
}}
| '''Recorded'''
| '''Recorded'''
| colspan="5" class="even" | {{{Recorded|''Unknown''}}}
| colspan="5" class="even" | {{{Recorded |''Unknown''}}}
|-
|-
| '''Writer/composer'''
| '''Writer/composer'''
| colspan="5" | {{{Writer|''Unknown''}}}
| colspan="5" | {{{Writer |''Unknown''}}}
|- class="even"
|- class="even"
| '''Producer'''
| '''Producer'''
| colspan="5" |{{{Producer|''Unknown''}}}
| colspan="5" |{{{Producer |''Unknown''}}}
|-
|-
{{#ifeq:{{{Art}}}|-||
{{#ifeq:{{{Art}}} | - ||
{{td}}'''Art work'''
{{td}}'''Art work'''
{{td}} colspan="5" {{td}}{{{Art|''Unknown''}}}
{{td}} colspan="5" {{td}}{{{Art |''Unknown''}}}
{{tr}} class="even"
{{tr}} class="even"
}}
}}
{{#ifeq:{{{Publisher}}}|-||
{{#ifeq:{{{Publisher}}} | - ||
{{td}} '''Publisher'''
{{td}} '''Publisher'''
{{td}} colspan="5" {{td}}{{{Publisher|''Unknown''}}}
{{td}} colspan="5" {{td}}{{{Publisher |''Unknown''}}}
{{tr}}  
{{tr}}  
}}
}}
{{#ifeq:{{{Format}}}|-||
{{#ifeq:{{{Format}}} | - ||
{{td}} '''Format(s)'''
{{td}} '''Format(s)'''
{{td}} colspan="5" {{td}}{{{Format|''Unknown''}}}
{{td}} colspan="5" {{td}}{{{Format |''Unknown''}}}
{{tr}} class="even"
{{tr}} class="even"
}}
}}
{{#ifeq:{{{CatNumber}}}|-||
{{#ifeq:{{{CatNumber}}} | - ||
{{td}} '''Catalogue number'''
{{td}} '''Catalogue number'''
{{td}} colspan="5" {{td}}{{{CatNumber|''Unknown''}}}
{{td}} colspan="5" {{td}}{{{CatNumber |''Unknown''}}}
{{tr}}  
{{tr}}  
}}
}}
{{#ifeq:{{{Release}}}|-||
{{#ifeq:{{{Release}}} | - ||
{{td}}'''Release date'''
{{td}}'''Release date'''
{{td}} colspan="5" {{td}}{{{Release|''Unknown''}}}{{{ReleaseRef|}}}
{{td}} colspan="5" {{td}}{{{Release |''Unknown''}}}{{{ReleaseRef |}}}
{{tr}} class="even"
{{tr}} class="even"
}}
}}
{{#ifeq:{{{Chart Position}}}|-||
{{#ifeq:{{{Chart Position}}} | - ||
{{td}}'''Chart position'''
{{td}}'''Chart position'''
{{td}} colspan="5" {{td}}{{{Chart Position|''Unknown''}}}
{{td}} colspan="5" {{td}}{{{Chart Position |''Unknown''}}}
{{tr}}  
{{tr}}  
}}
}}
{{#ifeq:{{{type}}}|single
{{#ifeq:{{{type}}} | single
|{{td}} '''Album'''
|{{td}} '''Album'''
{{td}} colspan="5" {{td}}{{{Album|''Unknown''}}}|-||
{{td}} colspan="5" {{td}}{{{Album |''Unknown''}}} | - ||
}}  
}}  
|-
|-
! style="-moz-border-radius:.5em;" colspan="5" class="TextToUpper" |{{{type}}} chronology
! style="-moz-border-radius: .5em;" colspan="5" class="TextToUpper" | {{{type}}} chronology
|- style="text-align:center; font-size:small"
|- style="text-align: center; font-size: small"
| width="150" |{{#if:{{{Previous{{{type}}}|}}}|<small>[[{{{Previous{{{type}}}}}} ({{{type}}}){{vb}}{{{Previous{{{type}}}}}}]]</small>}}
| width="150" | {{#if:{{{Previous{{{type}}}|}}}|<small>[[{{{Previous{{{type}}}}}} ({{{type}}}){{vb}}{{{Previous{{{type}}}}}}]]</small>}}
|<small>'''<'''</small>
|<small>'''<'''</small>
| width="150" |<small>'''{{{Name|Insert current {{{type}}}}}}'''</small>
| width="150" | <small>'''{{{Name|Insert current {{{type}}}}}}'''</small>
|<small>'''>'''</small>
|<small>'''>'''</small>
| width="150" |{{#if:{{{Next{{{type}}}|}}}|<small>[[{{{Next{{{type}}}}}} ({{{type}}}){{vb}}{{{Next{{{type}}}}}}]]</small>}}
| width="150" |{{#if:{{{Next{{{type}}}|}}}|<small>[[{{{Next{{{type}}}}}} ({{{type}}}){{vb}}{{{Next{{{type}}}}}}]]</small>}}
|- style="color:#000;"
|- style="color:#000;"
|{{#if:{{{single1|}}}|style="text-align:center" colspan="5"{{vb}}<small>Singles:</small>
|{{#if:{{{single1 |}}} | style="text-align: center" colspan="5"{{vb}}<small>Singles:</small>
{{tr}} style="text-align:center"
{{tr}} style="text-align: center"
{{td}} colspan="5" {{vb}}
{{td}} colspan="5" {{vb}}
{{#if:{{{single1 |}}} | [[Image:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]] }}
{{#if:{{{single1 |}}} | [[Image:{{{image1}}} {{vb}} 70x70px {{vb}} link={{{single1}}} (single)]] }}
Line 95: Line 95:
Need to sort out all the rest of the variables
Need to sort out all the rest of the variables


==Usage==
== Usage ==
<pre>
<pre>
{{Discobox
{{Discobox

Revision as of 16:43, 5 April 2011

Template:TdTotal lengthTemplate:Td colspan="5" Template:TdUnknownTemplate:Tr class="even" Template:TdArt workTemplate:Td colspan="5" Template:TdUnknownTemplate:Tr class="even" Template:TdPublisherTemplate:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:TdFormat(s)Template:Td colspan="5" Template:TdUnknownTemplate:Tr class="even" Template:TdCatalogue numberTemplate:Td colspan="5" Template:TdUnknownTemplate:TrTemplate:TdRelease dateTemplate:Td colspan="5" Template:TdUnknownTemplate:Tr class="even" Template:TdChart positionTemplate: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 Position = 
| type = type of release (album, EP, single ...)
| singlen = single n (only for albums)
| imagen = image for single n (only for albums)
}}

Happy editing!