Difference between revisions of "Template:Discobox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (rm redundant vertical bar. People copy and paste this, we don't want vertical bars cluttering pages where it is unnecessary)
(Added some space to make reading source easier, altered case, replaced line-break elements with WYSIWYG line-breaks)
Line 68: Line 68:
{{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)]] }}
{{#if:{{{single2|}}}|[[image:{{{image2}}}{{vb}}70x70px{{vb}}link={{{single2}}} (single)]]}}
{{#if:{{{single2 |}}} | [[Image:{{{image2}}} {{vb}} 70x70px {{vb}} link={{{single2}}} (single)]] }}
{{#if:{{{single3|}}}|[[image:{{{image3}}}{{vb}}70x70px{{vb}}link={{{single3}}} (single)]]}}
{{#if:{{{single3 |}}} | [[Image:{{{image3}}} {{vb}} 70x70px {{vb}} link={{{single3}}} (single)]] }}
{{#if:{{{single4|}}}|[[image:{{{image4}}}{{vb}}70x70px{{vb}}link={{{single4}}} (single)]]}}
{{#if:{{{single4 |}}} | [[Image:{{{image4}}} {{vb}} 70x70px {{vb}} link={{{single4}}} (single)]] }}
{{#if:{{{single5|}}}|[[image:{{{image5}}}{{vb}}70x70px{{vb}}link={{{single5}}} (single)]]}}
{{#if:{{{single5 |}}} | [[Image:{{{image5}}} {{vb}} 70x70px {{vb}} link={{{single5}}} (single)]] }}
{{#if:{{{single6|}}}|[[image:{{{image6}}}{{vb}}70x70px{{vb}}link={{{single6}}} (single)]]}}
{{#if:{{{single6 |}}} | [[Image:{{{image6}}} {{vb}} 70x70px {{vb}} link={{{single6}}} (single)]] }}
}}
}}
|}<!-- 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]]{{#ifeq:{{{type|}}}|live|[[Category:Live releases]]|{{#if:{{{type|}}}|[[Category:{{{type}}}s]]}}}}<br/><br/>__TOC__</includeonly>
<includeonly>[[Category:Discography]]{{
<noinclude>
    #ifeq:{{{type |}}} | live | [[Category:Live releases]] | {{
          #if:{{{type |}}} | [[Category:{{{type}}}s]] }}
    }}
 
__TOC__</includeonly><noinclude>


Need to sort out all the rest of the variables
Need to sort out all the rest of the variables

Revision as of 02:24, 29 January 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!