Difference between revisions of "Template:Songbox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(+Track var & logic)
m (Insert space code before Track <= space on either side of conditions isn't included)
Line 8: Line 8:
| {{{Album |<span class="unknown">Unknown</span>}}}{{
| {{{Album |<span class="unknown">Unknown</span>}}}{{
#if:{{{Track |}}} |  
#if:{{{Track |}}} |  
<span class="small">({{{Track}}})</span>
<span class="small">&#32;({{{Track}}})</span>
}}
}}
|-
|-

Revision as of 20:22, 1 September 2011


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!