Template:PlayTrack: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "<includeonly>{{#cargo_query: tables=tracks |fields=Id,Artist,ArtistTrack,Title,File |where=Id = {{{Id|}}} |format=table |named args=yes |template = TrackPlayer }}</includeonly> <noinclude> Outputs a simple block with basic track info and a player. See Music for the list of all tracks currently on the wiki. == Usage == <pre> {{TrackPlayer|TrackId}} </pre> {{TrackPlayer|36}} </noinclude>") |
(Track player block) |
||
Line 2: | Line 2: | ||
tables=tracks |
tables=tracks |
||
|fields=Id,Artist,ArtistTrack,Title,File |
|fields=Id,Artist,ArtistTrack,Title,File |
||
|where=Id = {{{ |
|where=Id = {{{1|}}} |
||
|format= |
|format=template |
||
|named args=yes |
|named args=yes |
||
|template = TrackPlayer |
|template = TrackPlayer |
||
Line 11: | Line 11: | ||
== Usage == |
== Usage == |
||
<pre> |
<pre> |
||
{{ |
{{PlayTrack|Id}} |
||
</pre> |
</pre> |
||
{{ |
{{PlayTrack|36}} |
||
</noinclude> |
</noinclude> |