Difference between revisions of "Template:Songbox"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (Insert space code before Track <= space on either side of conditions isn't included)
(Try making Chart position not appear when set to -)
Line 1: Line 1:
<includeonly>{| id="songbox" class="infbox wikitable" cellspacing="2"
{| id="songbox" class="infbox wikitable" cellspacing="2"
! colspan="2" | Muse song
! colspan="2" | Muse song
|-
|-
Line 31: Line 31:
| Producer
| Producer
| {{{Producer |<span class="unknown">Unknown</span>}}}
| {{{Producer |<span class="unknown">Unknown</span>}}}
|-
{{
| Chart position
#switch:{{{Chart position}}}
| {{{Chart position |<span class="unknown">Unknown</span>}}}{{#if:{{{Cover |}}} | [[Category:Covers]] | [[Category:Songs]] }}__NOTOC__
| - =
|}</includeonly><noinclude>
| #default =
{{vb}}-
{{vb}} Chart position
{{vb}} {{{Chart position |<span class="unknown">Unknown</span>}}}
}}{{#if:{{{Cover |}}} | [[Category:Covers]] | [[Category:Songs]] }}__NOTOC__
|}<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... :-)
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... :-)

Revision as of 20:44, 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!