Actions

Template

Difference between revisions of "TrackBob"

From Sonic Retro

m (Text replace - "Category:Breakout Box Templates" to "Category:Breakout box templates")
 
(11 intermediate revisions by 2 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}}"{{ #if: {{{description|}}} |<br/>{{{description}}}}}|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: {{{compose|}}} | '''Composed by''': {{{compose}}}<br> | }}{{
+
{{BobRow||{{{bass|}}}|content='''Bass:''' {{{bass}}}[[Category:Move to production credits section]]}}
#if: {{{arrange|}}} | '''Arrangement and Music by''': {{{arrange}}}<br> | }}{{
+
{{BobRow||{{{drums|}}}|content='''Drums:''' {{{drums}}}[[Category:Move to production credits section]]}}
#if: {{{lyrics|}}} | '''Lyrics by''': {{{lyrics}}}<br> | }}{{
+
{{BobRow||{{{additional|}}}|content='''Additional credits:''' {{{additional}}}[[Category:Move to production credits section]]}}
#if: {{{vocals|}}} | '''Vocals''': {{{vocals}}}<br> | }}{{
+
{{BobRow||{{{bpm|}}}|content='''Beats per minute:''' {{{bpm}}}}}
#if: {{{guitar|}}} | '''Guitar''': {{{guitar}}}<br> | }}{{
+
}}<includeonly>[[Category:Tracks]]</includeonly><noinclude>
#if: {{{bass|}}} | '''Bass''': {{{bass}}}<br> | }}{{
 
#if: {{{drums|}}} | '''Drums''': {{{drums}}}<br> | }}{{
 
#if: {{{additional|}}} | '''Additional Credits''': {{{additional}}}<br> | }}{{
 
#if: {{{bpm|}}} | '''BPM''': {{{bpm}}}<br> | }}{{
 
#if: {{{download|}}} | {{{download}}} | }}
 
|}<noinclude>
 
  
 
==Usage==
 
==Usage==
Line 25: Line 19:
  
 
<pre>
 
<pre>
{{Track
+
{{TrackBob
 
| cover=
 
| cover=
 
| coverwidth=
 
| coverwidth=
Line 31: Line 25:
 
| description=
 
| description=
 
| album=
 
| album=
| label=
+
| artist=
| singlereleased=
 
| singlecatalog=
 
| compose=
 
| arrange=
 
| lyrics=
 
| vocals=
 
| guitar=
 
| bass=
 
| drums=
 
| additional=
 
 
| bpm=
 
| bpm=
| 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|Track]]</noinclude>
+
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 15:42, 14 November 2022

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]]
}}