Difference between revisions of "Template:Songbox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Added Cover variable--if Cover is set, put article in Covers category, if not, put it in Songs category. See Talk:tourette's (song)#Categorical Misplacement?)
(Moved help to Help:Templates/Songbox, with improvements. +{{{Helpbox}}})
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="songbox" cellspacing="2"
<noinclude>{{Helpbox}}
 
</noinclude>{| id="songbox" class="infbox wikitable" cellspacing="2"
! colspan="2" | Muse song
|-
| Name
| {{{Name |<span class="unknown">Unknown</span>}}}
|-
| Album/single
| {{{Album |<span class="unknown">Unknown</span>}}}{{
#if:{{{Track |}}}
| <span class="small">&#32;({{{Track}}})</span>
}}
|-
|-
! class="head" colspan="2" | Muse song
| Length
| {{{Length |<span class="unknown">Unknown</span>}}}
|-
|-
| '''Name'''
| Alternative titles
| {{{Name|''Unknown''}}}
| {{{AltTitles |<span class="unknown">Unknown</span>}}}
|- class="even"
| '''Album/single'''
| {{{Album|''Unknown''}}}
|-
|-
| '''Length'''
| First live performance
| {{{Length|''Unknown''}}}
| {{{First |<span class="unknown">Unknown</span>}}}
|- class="even"
| '''Alternative titles'''
| {{{AltTitles|''Unknown''}}}
|-
|-
| '''First live performance'''
| Latest live performance
| {{{First|''Unknown''}}}
| {{{Latest |<span class="unknown">Unknown</span>}}}
|- class="even"
| '''Latest live performance'''
| {{{Latest|''Unknown''}}}
|-
|-
| '''Recorded'''
| Recorded
| {{{Recorded|''Unknown''}}}
| {{{Recorded |<span class="unknown">Unknown</span>}}}
|- class="even"
| '''Writer/composer'''
| {{{Writer|''Unknown''}}}
|-
|-
| '''Producer'''
| Writer/composer
| {{{Producer|''Unknown''}}}
| {{{Writer |<span class="unknown">Unknown</span>}}}
|- class="even"
|-
| '''Chart position'''
| Producer
| {{{Chart position|''Unknown''}}}{{#if:{{{Cover|}}}|[[Category:Covers]]|[[Category:Songs]]}}__NOTOC__
| {{{Producer |<span class="unknown">Unknown</span>}}}
|}</includeonly><noinclude>
{{
This is, hopefully, an adequate temporary box to put on all the song articles. I wrote this in about 5 minutes, and I know nothing about making templates other than 5 minutes reading Wikipedia's tutorials, so anyone who can make it look nicer or thinks of anything to add to it please do, I think some feature for international chart positions would be nice... :-
#switch:{{{Chart position}}}
 
| - =
Thanks to some template wizardry, this template now '''automatically adds articles it is added to <nowiki>[[Category:Songs]]</nowiki>
| #default =
 
{{vb}}-
==Usage==
{{vb}} Chart position
<pre>
{{vb}} {{{Chart position |<span class="unknown">Unknown</span>}}}
{{Songbox |
| Name =
| Album =
| Length = mm:ss
| AltTitles =
| First =
| Recorded =
| Writer =
| Producer =
| Chart position =  
}}
}}
{{
#if:{{{Cover |}}}
| [[Category:Covers]]
| [[Category:Songs]]
}}__NOTOC__
|}<noinclude>


Which means...
[[Category:Templates]]
{{Songbox |
| Name = (The name of the song)
| Album = (The album, single or EP the track is taken from)
| Length = mm:ss (The length of the track, duh!)
| AltTitles = (Unofficial, pre-release titles of the song)
| First = (First known gig the song was performed live, eg 'Crying Shame' would be '19th December 2004'
| Latest = (Latest known performance if greater than one month ago)
| Recorded = (Year of the first and subsequent recordings)
| Writer = (The songwriter, in most cases Sir Bellamy)
| Producer = (The producer)
| Chart position = (The highest UK chart position, other countries may be added to the template later)
}}
</pre>


Happy editing!
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:13, 1 September 2011

Help for using this template

Muse song
Name Unknown
Album/single Unknown
Length Unknown
Alternative titles Unknown
First live performance Unknown
Latest live performance Unknown
Recorded Unknown
Writer/composer Unknown
Producer Unknown
Chart position Unknown