Template:Tracklist/doc

From Tolkien Gateway
< Template:Tracklist
Revision as of 18:01, 10 July 2011 by KingAragorn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage[edit source]

{{tracklist
| collapsed       = 
| headline        = 
| extra_column    = 
| total_length    = 

| all_writing     = 
| all_lyrics      = 
| all_music       = 

| writing_credits = 
| lyrics_credits  = 
| music_credits   = 

| title1          = 
| note1           = 
| writer1         = 
| lyrics1         = 
| music1          = 
| extra1          = 
| length1         = 

| title2          = 
| note2           = 
| writer2         = 
| lyrics2         = 
| music2          = 
| extra2          = 
| length2         = 

...

| title99         = 
| note99          = 
| writer99        = 
| lyrics99        = 
| music99         = 
| extra99         = 
| length99        = 
}}

Parameters[edit source]

Parameter Description
collapsed Include this parameter with the value yes (collapsed = yes) to have the track listing table start out collapsed. Useful for very long lists and/or pages with several lists. This parameter only takes effect in JavaScript-enabled browsers.
headline An optional headline, to denote sides/disc numbers of an LP or in case of some works, special groups or cycles of songs (i.e., Side A, Disc three, etc.). The default font-weight of the headline is bold.
extra_column Used to both enable and set the header for an additional column to hold per-track information. If this option is not used, no extra column will be shown. Use sparingly, in order to keep the overall column count to a minimum and if the respective type of date is not available for most tracks consider using the note fields instead. Some suggested headers: Artist (compilations), Original artist (cover albums), Producer(s) (e.g. on hip hop records), Remixer(s) (remix albums).
total_length Used to display the total length of the record at the bottom of the list. Not necessary in most cases (as that information will usually be covered by an infobox), but useful in some (i.e., releases with a lot of individual discs).
all_writing
all_lyrics
all_music
Used to display general songwriting credits for the entire record in a note above the track listing. If all_writing is supplied, the other two parameters are ignored.
writing_credits Include this parameter with the value yes (i.e., writing_credits = yes) to turn on a column for track-specific songwriting credits. Avoid redundancy, if all or most songs on a record were written by the same person(s), consider using the all_writing option and note fields for exceptions. Note that the writing_credits option disables the lyrics_credits and music_credits options.
lyrics_credits
music_credits
Include these parameters with the value yes (e.g. lyrics_credits = yes) to turn on columns for track-specific lyrics and music credits. Avoid redundancy, if the lyrics and/or music of most songs on a record can be attributed to the same person(s), consider using the all_lyrics and all_music options respectively, along with note fields for exceptions. Note that the writing_credits option disables the lyrics_credits and music_credits options.
titlen (i.e., title1, title2, etc.) The title of the respective track. Note that a track listing does not have to start with a #1 (i.e., for having Side B of an LP start at track six or leaving out empty tracks preceding a bonus track). Track names are automatically put into quotes.
noten (i.e., note1, note2, etc.) An optional note to be displayed in brackets behind the title. Useful for original titles in other languages/scripts (i.e., kanji) or to denote bonus tracks only included in certain editions.
writern
lyricsn
musicn
Use to denote the writer(s) of the track in general or of the lyrics and/or music individually. Remember to turn on the desired columns with the parameters ending with _credits (see above) and avoid redundancy where possible.
extran Holds the content of the user-set column for the respective track (see extra_column).
lengthn (i.e., length1, length2, etc.) The length of the track in a m:ss formatting (or mm:ss if particularly long tracks occur). For example: 4:35