Difference between revisions of "Template:Songbox"

From MansunWiki
Jump to: navigation, search
m
m (remove class id add to class)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{Helpbox}}
 
<noinclude>{{Helpbox}}
  
</noinclude>{| id="songbox" class="infbox wikitable" cellspacing="2"
+
</noinclude>{| class="songbox infbox wikitable" cellspacing="2"
 
! colspan="2" | {{{ArtistType | Mansun}}} Song
 
! colspan="2" | {{{ArtistType | Mansun}}} Song
 
|-
 
|-
| Name
+
{{#if:{{{Name|}}}|
| {{{Name |<span class="unknown">Unknown</span>}}}
+
{{!}} Name
|-
+
{{!}} {{{Name}}}
{{#ifeq:{{{Album|}}} |-||
+
{{!}}-
{{vb}} Album
+
{{vb}} {{{Album|}}}
+
{{vb}}-
+
 
}}
 
}}
{{#ifeq:{{{EP|}}} |-||
+
{{#if:{{{Album|}}}|
{{vb}} EP
+
{{!}} Album
{{vb}} {{{EP|}}}
+
{{!}} {{{Album}}}
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Single|}}} |-||
+
{{#if:{{{EP|}}}|
{{vb}} Single
+
{{!}} EP
{{vb}} {{{Single|}}}
+
{{!}} {{{EP}}}
{{vb}}-
+
{{!}}-
 
}}
 
}}
{{#ifeq:{{{Demo|}}} |-||
+
{{#if:{{{Single|}}}|
{{vb}} Demo
+
{{!}} Single
{{vb}} {{{Demo|}}}
+
{{!}} {{{Single}}}
{{vb}}-
+
{{!}}-
 
}}
 
}}
| Track length
+
{{#if:{{{Demo|}}}|
| {{{Length |<span class="unknown">Unknown</span>}}}
+
{{!}} Demo
|-
+
{{!}} {{{Demo}}}
| Alternative titles
+
{{!}}-
| {{{AltTitles |<span class="unknown">Unknown</span>}}}
+
}}
|-
+
{{#if:{{{Length|}}}|
| Recorded
+
{{!}} Track length
| {{{Recorded |<span class="unknown">Unknown</span>}}}
+
{{!}} {{{Length}}}
|-
+
{{!}}-
| Writer/composer
+
| {{{Writer |<span class="unknown">Unknown</span>}}}
+
|-
+
| Produced by
+
| {{{Producer |<span class="unknown">Unknown</span>}}}
+
|-
+
| Mixed by
+
| {{{Mixed |<span class="unknown">Unknown</span>}}}
+
|-
+
| First live performance
+
| {{{First |<span class="unknown">Unknown</span>}}}
+
|-
+
| Latest live performance
+
| {{{Latest |<span class="unknown">Unknown</span>}}}
+
|-
+
| Release
+
| {{{Released |''Unknown''}}}{{{ReleaseRef |}}}
+
{{
+
#switch:{{{Chart position}}}
+
| - =
+
| #default =
+
{{vb}}-
+
{{vb}} Chart position
+
{{vb}} {{{Chart position |<span class="unknown">Unknown</span>}}}
+
 
}}
 
}}
|-
+
{{#if:{{{AltTitles|}}}|
| Published by
+
{{!}} Alternative titles
| {{{Publisher |<span class="unknown">Unknown</span>}}}
+
{{!}} {{{AltTitles}}}
{{
+
{{!}}-
#if:{{{Name |}}}
+
}}
| [[Category:{{{ArtistType | Mansun}}}]]
+
{{#if:{{{Writer|}}}|
 +
{{!}} Writer/composer
 +
{{!}} {{{Writer}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Recorded|}}}|
 +
{{!}} Recorded
 +
{{!}} {{{Recorded}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Producer|}}}|
 +
{{!}} Producer
 +
{{!}} {{{Producer}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Mixed|}}}|
 +
{{!}} Mixed by
 +
{{!}} {{{Mixed}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{First|}}}|
 +
{{!}} First live performance
 +
{{!}} {{{First}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Latest|}}}|
 +
{{!}} Latest live performance
 +
{{!}} {{{Latest}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Released|}}}|
 +
{{!}} Released
 +
{{!}} {{{Released}}} <small>{{{ReleaseRef |}}}</small>
 +
{{!}}-
 +
}}
 +
{{#if:{{{Chart|}}}|
 +
{{!}} Chart position
 +
{{!}} {{{Chart}}} <small>{{{ChartRef |}}}</small>
 +
{{!}}-
 
}}
 
}}
{{
+
{{#if:{{{Publisher|}}}|
#if:{{{Cover |}}}
+
{{!}} Published by
| [[Category:{{{ArtistType | Mansun}}} Covers]]
+
{{!}} {{{Publisher }}}
 +
{{!}}-
 
}}
 
}}
{{
+
|}
#if:{{{B-side |}}}
+
{{#if:{{{B-side|}}}|[[Category:{{{ArtistType | Mansun}}} B-side]]}}
| [[Category:{{{ArtistType | Mansun}}} B-side]]
+
{{#if:{{{Cover|}}}|[[Category:{{{ArtistType | Mansun}}} Cover]]}}
}}__NOTOC__
+
{{#if:{{{Demo|}}}|[[Category:{{{ArtistType | Mansun}}} Demos]]}}
|}<noinclude>
+
{{#if:{{{Name|}}}|[[Category:{{{ArtistType | Mansun}}} Songs]]}}
 +
__NOTOC__<noinclude>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 11:15, 10 August 2015

Help for using this template

Mansun Song