Actions

Template

Difference between revisions of "TrackBob"

From Sonic Retro

m
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px;" width="210" class="breakout"
+
{{BobTable|
|align="center"| [[Image:{{{cover}}}|{{ #if: {{{coverwidth|}}} | {{{coverwidth}}} | 275px}}]]
+
{{BobRow||{{{cover|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No cover]]</includeonly>|content=[[File:{{{cover}}}|{{ #if: {{{coverwidth|}}} | {{{coverwidth}}} | 275px}}]]}}
|-
+
{{BobRow||{{{title|}}}|default=" {{PAGENAME}} "|content=" {{{title}}} "{{ #if: {{{description|}}} |<br/>{{{description}}}}}|headline=yes|align=center}}
! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''<br/>{{ #if: {{{description|}}} | {{{description}}}<br> | }}
+
{{BobRow||{{{album|}}}|content='''Album''': ''{{{album}}}''}}
|-
+
{{BobRow||{{{artist|}}}|content='''Artist''': {{{artist}}}}}
|style="padding: 0.3em; line-height: 1.5em;" |{{
+
{{BobRow||{{{compose|}}}|content='''Composed by''': {{{compose}}}[[Category:Move to production credits section]]}}
#if: {{{album|}}} | '''Album''': ''{{{album}}}''<br> | }}{{
+
{{BobRow||{{{arrange|}}}|content='''Arrangement by''': {{{arrange}}}[[Category:Move to production credits section]]}}
#if: {{{label|}}} | '''Record Label''': {{{label}}}<br> | }}{{
+
{{BobRow||{{{lyrics|}}}|content='''Lyrics by''': {{{lyrics}}}[[Category:Move to production credits section]]}}
#if: {{{singlereleased|}}} | '''Single Release Date''': {{{singlereleased}}}<br> | }}{{
+
{{BobRow||{{{vocals|}}}|content='''Vocals''': {{{vocals}}}[[Category:Move to production credits section]]}}
#if: {{{singlecatalog|}}} | '''Single Catalog No.''': {{{singlecatalog}}}<br> | }}{{
+
{{BobRow||{{{guitar|}}}|content='''Guitar''': {{{guitar}}}[[Category:Move to production credits section]]}}
#if: {{{arrange|}}} | '''Arrangement and Music by''': {{{arrange}}}<br> | }}{{
+
{{BobRow||{{{bass|}}}|content='''Bass''': {{{bass}}}[[Category:Move to production credits section]]}}
#if: {{{lyrics|}}} | '''Lyrics by''': {{{lyrics}}}<br> | }}{{
+
{{BobRow||{{{drums|}}}|content='''Drums''': {{{drums}}}[[Category:Move to production credits section]]}}
#if: {{{vocals|}}} | '''Vocals''': {{{vocals}}}<br> | }}{{
+
{{BobRow||{{{additional|}}}|content='''Additional credits''': {{{additional}}}[[Category:Move to production credits section]]}}
#if: {{{guitar|}}} | '''Guitar''': {{{guitar}}}<br> | }}{{
+
{{BobRow||{{{bpm|}}}|content='''Beats per minute''': {{{bpm}}}}}
#if: {{{bass|}}} | '''Bass''': {{{bass}}}<br> | }}{{
+
}}<includeonly>[[Category:Tracks]]</includeonly><noinclude>
#if: {{{drums|}}} | '''Drums''': {{{drums}}}<br> | }}{{
 
#if: {{{additional|}}} | '''Additional Credits''': {{{additional}}}<br> | }}{{
 
#if: {{{download|}}} | {{{download}}} | }}
 
|}<noinclude>
 
  
 
==Usage==
 
==Usage==
Line 23: Line 19:
  
 
<pre>
 
<pre>
{{Track
+
{{TrackBob
 
| cover=
 
| cover=
 
| coverwidth=
 
| coverwidth=
Line 29: Line 25:
 
| description=
 
| description=
 
| album=
 
| album=
| label=
+
| artist=
| singlereleased=
+
| bpm=
| singlecatalog=
 
| arrange=
 
| lyrics=
 
| vocals=
 
| guitar=
 
| bass=
 
| drums=
 
| additional=
 
| download=
 
 
}}
 
}}
 
</pre>
 
</pre>
  
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>.
+
All fields except "cover" are optional.
  
 
===Example===
 
===Example===
{{Track
+
{{TrackBob
 
| cover=Hedgehog.jpg
 
| cover=Hedgehog.jpg
| coverwidth=
 
 
| title=Hedgehog's Theme
 
| title=Hedgehog's Theme
 
| description=Main Theme, Hedgehog
 
| description=Main Theme, Hedgehog
 
| album=[[Sonic the Hedgehog]]
 
| album=[[Sonic the Hedgehog]]
 
| label=[[Sega]]
 
| label=[[Sega]]
| singlereleased=May 2008
 
| singlecatalog=12345
 
| arrange=Sonic
 
| lyrics=Tails
 
| vocals=Amy
 
| guitar=Knuckles
 
| bass=Dr. Eggman
 
| drums=Metal Sonic
 
| additional=
 
| download=
 
 
}}
 
}}
 
<pre>
 
<pre>
{{Track
+
{{TrackBob
 
| cover=Hedgehog.jpg
 
| cover=Hedgehog.jpg
| coverwidth=
 
 
| title=Hedgehog's Theme
 
| title=Hedgehog's Theme
 
| description=Main Theme, Hedgehog
 
| description=Main Theme, Hedgehog
 
| album=[[Sonic the Hedgehog]]
 
| album=[[Sonic the Hedgehog]]
 
| label=[[Sega]]
 
| label=[[Sega]]
| singlereleased=May 2008
 
| singlecatalog=12345
 
| arrange=Sonic
 
| lyrics=Tails
 
| vocals=Amy
 
| guitar=Knuckles
 
| bass=Dr. Eggman
 
| drums=Metal Sonic
 
| additional=
 
| download=
 
 
}}
 
}}
 
</pre>
 
</pre>
  
[[Category:Breakout Box Templates]]</noinclude>
+
[[Category:Breakout box templates]]</noinclude>

Revision as of 16:20, 4 October 2019

Notavailable.svg
" TrackBob "

Usage

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

{{TrackBob
| cover=
| coverwidth=
| title=
| description=
| album=
| artist=
| bpm=
}}

All fields except "cover" are optional.

Example

Hedgehog.jpg
"Hedgehog's Theme"
Main Theme, Hedgehog
Album: Sonic the Hedgehog
{{TrackBob
| cover=Hedgehog.jpg
| title=Hedgehog's Theme
| description=Main Theme, Hedgehog
| album=[[Sonic the Hedgehog]]
| label=[[Sega]]
}}