Difference between revisions of "Template:Songbox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Try making Chart position not appear when set to -)
(+Line-break where it won't be preserved, indented conditional expression)
Line 7: Line 7:
| Album/single
| Album/single
| {{{Album |<span class="unknown">Unknown</span>}}}{{
| {{{Album |<span class="unknown">Unknown</span>}}}{{
#if:{{{Track |}}} |
#if:{{{Track |}}}
<span class="small">&#32;({{{Track}}})</span>
| <span class="small">&#32;({{{Track}}})</span>
}}
}}
|-
|-
Line 38: Line 38:
{{vb}} Chart position
{{vb}} Chart position
{{vb}} {{{Chart position |<span class="unknown">Unknown</span>}}}
{{vb}} {{{Chart position |<span class="unknown">Unknown</span>}}}
}}{{#if:{{{Cover |}}} | [[Category:Covers]] | [[Category:Songs]] }}__NOTOC__
}}
{{
#if:{{{Cover |}}}
| [[Category:Covers]]
| [[Category:Songs]]
}}__NOTOC__
|}<noinclude>
|}<noinclude>



Revision as of 20:48, 1 September 2011

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

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... :-)

Thanks to some template wizardry, this template now automatically adds articles it is added to [[Category:Songs]]

Usage

{{Songbox
| Name = 
| Album = 
| Length = mm:ss
| AltTitles = 
| First =
| Recorded =
| Writer = 
| Producer = 
| Chart position = 
}}


Which means...

{{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)
}}

Happy editing!