Template:Track: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Added anchors) |
(Moved player out to Template:TrackPlayer) |
||
Line 8: | Line 8: | ||
|File = File |
|File = File |
||
}} |
}} |
||
Defines a new track. Use [[Template:PlayTrack]] to output a standalone player of any existing track. |
|||
</noinclude> |
</noinclude> |
||
<includeonly>{{#cargo_store:_table=tracks}}{{TrackPlayer|Id={{{Id|}}}|Artist={{{Artist|}}}|ArtistTrack={{{ArtistTrack|}}}|Title={{{Title|}}}|File={{{File|}}} }}</includeonly> |
|||
<templatestyles src="Track/style.css" /> |
|||
<includeonly>{{#cargo_store:_table=tracks}}<div class="track track-standalone"><span class="id" id="track{{{Id|}}}">Track {{{Id|}}}</span><span class="artist">{{{Artist|}}}</span><span class="title">{{#if: {{{Title|}}} | {{{Title}}} | Theme {{{Id|}}} }}</span><span class="player">[[File:{{{File|}}}|380px]]</span></div></includeonly> |
Revision as of 15:13, 11 June 2023
This template defines the table "tracks". View table. Defines a new track. Use Template:PlayTrack to output a standalone player of any existing track.