Actions

Template

Difference between revisions of "TrackBob"

From Sonic Retro

(Example)
 
(2 intermediate revisions by one other user 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}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{artist|}}}|content='''Artist:''' {{{artist}}}}}
{{BobRow||{{{arrange|}}}|content='''Arrangement by''': {{{arrange}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{compose|}}}|content='''Composed by:''' {{{compose}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{lyrics|}}}|content='''Lyrics by''': {{{lyrics}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{arrange|}}}|content='''Arrangement by:''' {{{arrange}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{vocals|}}}|content='''Vocals''': {{{vocals}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{lyrics|}}}|content='''Lyrics by:''' {{{lyrics}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{guitar|}}}|content='''Guitar''': {{{guitar}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{vocals|}}}|content='''Vocals:''' {{{vocals}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{bass|}}}|content='''Bass''': {{{bass}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{guitar|}}}|content='''Guitar:''' {{{guitar}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{drums|}}}|content='''Drums''': {{{drums}}}[[Category:Move to production credits section]]}}
+
{{BobRow||{{{bass|}}}|content='''Bass:''' {{{bass}}}[[Category:Move to production credits section]]}}
{{BobRow||{{{additional|}}}|content='''Additional credits''': {{{additional}}}[[Category:Move to production credits section]]}}
+
{{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]]}}
 +
{{BobRow||{{{bpm|}}}|content='''Beats per minute:''' {{{bpm}}}}}
 
}}<includeonly>[[Category:Tracks]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Tracks]]</includeonly><noinclude>
  
Line 24: Line 25:
 
| description=
 
| description=
 
| album=
 
| album=
 +
| artist=
 
| 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===

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