Actions

Template

Difference between revisions of "TrackBob"

From Sonic Retro

Line 1: Line 1:
 
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px;" width="210" class="breakout"
 
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px;" width="210" class="breakout"
|align="center"| [[Image:{{{cover}}}|{{ #if: {{{coverwidth|}}} | {{{coverwidth}}} | 275px}}]]
+
|align="center"| [[Image:{{{cover}}}|{{ #if: {{{coverwidth|}}} | {{{coverwidth}}} | 275px}}]]{{
 +
#if: {{{hidecaption|yes}}} | <br><small>{{ #if: {{{single|yes}}} | Album Cover | Single Cover }}</small> | }}
 
|-
 
|-
 
! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''<br/>{{ #if: {{{description|}}} | {{{description}}}<br> | }}
 
! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''<br/>{{ #if: {{{description|}}} | {{{description}}}<br> | }}
 
|-
 
|-
 
|style="padding: 0.3em; line-height: 1.5em;" |{{
 
|style="padding: 0.3em; line-height: 1.5em;" |{{
  #if: {{{album|}}} | '''Album''': {{{album}}}<br> | }}{{
+
  #if: {{{album|}}} | '''Album''': ''{{{album}}}''<br> | }}{{
 +
#if: {{{singlereleased|}}} | '''Single Release Date''': {{{released}}}<br> | }}{{
 +
#if: {{{singlelabel|}}} | '''Record Label''': {{{label}}}<br> | }}{{
 +
#if: {{{singlecatalog|}}} | '''Single Catalog No.''': {{{catalog}}}<br> | }}{{
 
  #if: {{{arrange|}}} | '''Arrangement and Music by''': {{{arrange}}}<br> | }}{{
 
  #if: {{{arrange|}}} | '''Arrangement and Music by''': {{{arrange}}}<br> | }}{{
 
  #if: {{{lyrics|}}} | '''Lyrics by''': {{{lyrics}}}<br> | }}{{
 
  #if: {{{lyrics|}}} | '''Lyrics by''': {{{lyrics}}}<br> | }}{{
Line 23: Line 27:
 
| cover=
 
| cover=
 
| coverwidth=
 
| coverwidth=
 +
| hidecaption=
 
| title=
 
| title=
 
| description=
 
| description=
 
| album=
 
| album=
 +
| single=
 +
| singlereleased=
 +
| singlelabel=
 +
| singlecatalog=
 
| arrange=
 
| arrange=
 
| lyrics=
 
| lyrics=
Line 37: Line 46:
 
</pre>
 
</pre>
  
All fields except "cover" are optional. If using the download function (i.e., the song is in the OSV or the [http://www.albums.sonicretro.org AlbumDump]), use the FlashMP3 extension--<nowiki><flashmp3>http://file.url|download</flashmp3></nowiki>.
+
All fields except "cover" are optional. If using the download function (i.e., the song is in the OSV or the [http://music.sonicretro.org AlbumDump]), use the FlashMP3 extension--<nowiki><flashmp3>folder/file.mp3</flashmp3></nowiki>.
 +
 
 +
===Example===
 +
{{Track
 +
| cover=Hedgehog.jpg
 +
| coverwidth=
 +
| hidecaption=
 +
| title=Hedgehog's Theme
 +
| description=Main Theme, Hedgehog
 +
| album=[[Sonic the Hedgehog]]
 +
| single=yes
 +
| singlereleased=May 2008
 +
| singlelabel=[[Sega]]
 +
| singlecatalog=12345
 +
| arrange=Sonic
 +
| lyrics=Tails
 +
| vocals=Amy
 +
| guitar=Knuckles
 +
| bass=Dr. Eggman
 +
| drums=Metal Sonic
 +
| additional=
 +
| download=
 +
}}
 +
<pre>
 +
{{Track
 +
| cover=Hedgehog.jpg
 +
| coverwidth=
 +
| hidecaption=
 +
| title=Hedgehog's Theme
 +
| description=Main Theme, Hedgehog
 +
| album=[[Sonic the Hedgehog]]
 +
| single=yes
 +
| singlereleased=May 2008
 +
| singlelabel=[[Sega]]
 +
| singlecatalog=12345
 +
| arrange=Sonic
 +
| lyrics=Tails
 +
| vocals=Amy
 +
| guitar=Knuckles
 +
| bass=Dr. Eggman
 +
| drums=Metal Sonic
 +
| additional=
 +
| download=
 +
}}
 +
</pre>
  
 
[[Category:Breakout Box Templates]]</noinclude>
 
[[Category:Breakout Box Templates]]</noinclude>

Revision as of 18:44, 21 May 2008

[[Image:{{{cover}}}|275px]]
Album Cover
TrackBob

Usage

This template is to be used on articles about specific music tracks. Place the following at the top of a page:

{{Track
| cover=
| coverwidth=
| hidecaption=
| title=
| description=
| album=
| single=
| singlereleased=
| singlelabel=
| singlecatalog=
| arrange=
| lyrics=
| vocals=
| guitar=
| bass=
| drums=
| additional=
| download=
}}

All fields except "cover" are optional. If using the download function (i.e., the song is in the OSV or the AlbumDump), use the FlashMP3 extension--<flashmp3>folder/file.mp3</flashmp3>.

Example


. {{{1}}} ({{{time}}})
Lyrics: Tails
Vocals: Amy
{{Track
| cover=Hedgehog.jpg
| coverwidth=
| hidecaption=
| title=Hedgehog's Theme
| description=Main Theme, Hedgehog
| album=[[Sonic the Hedgehog]]
| single=yes
| singlereleased=May 2008
| singlelabel=[[Sega]]
| singlecatalog=12345
| arrange=Sonic
| lyrics=Tails
| vocals=Amy
| guitar=Knuckles
| bass=Dr. Eggman
| drums=Metal Sonic
| additional=
| download=
}}