Actions

Template

Difference between revisions of "TrackBob"

From Sonic Retro

 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{BobTable|
 
{{BobTable|
 
{{BobRow||{{{cover|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No cover]]</includeonly>|content=[[File:{{{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}}
+
{{BobRow||{{{title|}}}|default="{{PAGENAME}}"{{ #if: {{{description|}}} |<br/>{{{description}}}}}|content="{{{title}}}"{{ #if: {{{description|}}} |<br/>{{{description}}}}}|headline=yes|align=center}}
{{BobRow||{{{album|}}}|content='''Album''': {{{album}}}}}
+
{{BobRow||{{{album|}}}|content='''Album:''' ''{{{album}}}''}}
{{BobRow||{{{compose|}}}|content='''Composed by''': {{{compose}}}}}
+
{{BobRow||{{{artist|}}}|content='''Artist:''' {{{artist}}}}}
{{BobRow||{{{arrange|}}}|content='''Arrangement by''': {{{arrange}}}}}
+
{{BobRow||{{{compose|}}}|content='''Composed by:''' {{{compose}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{lyrics|}}}|content='''Lyrics by''': {{{lyrics}}}}}
+
{{BobRow||{{{arrange|}}}|content='''Arrangement by:''' {{{arrange}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{vocals|}}}|content='''Vocals''': {{{vocals}}}}}
+
{{BobRow||{{{lyrics|}}}|content='''Lyrics by:''' {{{lyrics}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{guitar|}}}|content='''Guitar''': {{{guitar}}}}}
+
{{BobRow||{{{vocals|}}}|content='''Vocals:''' {{{vocals}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{bass|}}}|content='''Bass''': {{{bass}}}}}
+
{{BobRow||{{{guitar|}}}|content='''Guitar:''' {{{guitar}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{drums|}}}|content='''Drums''': {{{drums}}}}}
+
{{BobRow||{{{bass|}}}|content='''Bass:''' {{{bass}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{additional|}}}|content='''Additional credits''': {{{additional}}}}}
+
{{BobRow||{{{drums|}}}|content='''Drums:''' {{{drums}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{bpm|}}}|content='''Beats per minute''': {{{bpm}}}}}
+
{{BobRow||{{{additional|}}}|content='''Additional credits:''' {{{additional}}}[[Category:Move to production credits section]]}}
}}<noinclude>
+
{{BobRow||{{{bpm|}}}|content='''Beats per minute:''' {{{bpm}}}}}
 +
}}<includeonly>[[Category:Tracks]]</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
Line 18: Line 19:
  
 
<pre>
 
<pre>
{{Track
+
{{TrackBob
 
| cover=
 
| cover=
 
| coverwidth=
 
| coverwidth=
Line 24: Line 25:
 
| description=
 
| description=
 
| album=
 
| album=
| compose=
+
| artist=
| arrange=
 
| lyrics=
 
| vocals=
 
| guitar=
 
| bass=
 
| drums=
 
| additional=
 
 
| bpm=
 
| bpm=
 
}}
 
}}
 
</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]]
| arrange=Sonic
 
| lyrics=Tails
 
| vocals=Amy
 
| guitar=Knuckles
 
| bass=Dr. Eggman
 
| drums=Metal Sonic
 
| additional=
 
 
}}
 
}}
 
<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]]
| arrange=Sonic
 
| lyrics=Tails
 
| vocals=Amy
 
| guitar=Knuckles
 
| bass=Dr. Eggman
 
| drums=Metal Sonic
 
 
}}
 
}}
 
</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]]
}}