Difference between revisions of "Template:TrackListBegin"

From Video Game Music Preservation Foundation Wiki
Jump to: navigation, search
(New templates for track lists)
 
(Center the table as CSS can't do that without an extra element)
Line 47: Line 47:
 
Will appear as:
 
Will appear as:
  
</noinclude><table class="wikitable">
+
</noinclude><center><table class="wikitable">
 
   <tr>
 
   <tr>
 
     <th>#</th>
 
     <th>#</th>

Revision as of 22:27, 3 February 2015

This template is used to start a table of song recordings. It is combined with Template:TrackListEntry and Template:TrackListEnd to produce the full table of recordings.

Tables produced with this template contain structured data allowing search engines to list the recordings directly in the search results.

The following parameters are valid:

Parameter Example Purpose
Extra1
Extra2
Extra3
Extra1 = Original Filename Name of extra columns to appear after the Title column.
Extra4
Extra5
Extra4 = Example Name of extra columns to appear after the Composer column.
Extra6
Extra7
Extra6 = Example Name of extra columns to appear after the Size column.
Extra8
Extra9
Extra9 = Notes Name of extra columns to appear as the very last columns.

Example

This code:

{{TrackListBegin}}
{{TrackListEntry
 | Track = 1
 | Title = Example
 | Artist = John Doe
 | DurationMin = 1
 | DurationSec = 23
 | Size = 1.23 MB
 | Game = Example
 | Platform = DOS
}}
{{TrackListEnd}}

Will appear as:

# Title Composer Length Size Listen Download
01 Example Unknown 1:23 Download