Template talk:JW RecentSongs

From WWR

Jump to: navigation, search

Contents

Recent Songs Template

Last 5 Songs Played
1.
  • Song: Don't You Know, by Batdorf & McLean (3:02)
  • Started: Dec 2nd, 2008
  • Played: 5 times
  • Requested: 3 times
  • Overall rating: (5 votes)
  • You rate it (click on a star ranking 1=yuck 5=great): You have to login to give your opinion about songs.
  • Tags count: 5
2.
  • Song: Cry, by Steve Bailey (4:22)
  • Started: Dec 2nd, 2008
  • Played: 4 times
  • Requested: 3 times
  • Overall rating: (2 votes)
  • You rate it (click on a star ranking 1=yuck 5=great): You have to login to give your opinion about songs.
  • Tags count: 0
3.
  • Song: Riding The Peace Train, by Utah Phillips (3:38)
  • Started: Dec 2nd, 2008
  • Played: 4 times
  • Requested: 2 times
  • Overall rating: (2 votes)
  • You rate it (click on a star ranking 1=yuck 5=great): You have to login to give your opinion about songs.
  • Tags count: 1
4.
  • Song: Hollywood, by Annalisa (3:05)
  • Started: Dec 2nd, 2008
  • Played: 4 times
  • Requested: 2 times
  • Overall rating: (3 votes)
  • You rate it (click on a star ranking 1=yuck 5=great): You have to login to give your opinion about songs.
  • Tags count: 0
5.
  • Song: Brokendown, by Shanna And The Hawk (5:38)
  • Started: Dec 2nd, 2008
  • Played: 39 times
  • Requested: 28 times
  • Overall rating: (17 votes)
  • You rate it (click on a star ranking 1=yuck 5=great): You have to login to give your opinion about songs.
  • Tags count: 6

Template Link:

Template:JW_RecentSongs

Description:

Displays a box with information about the most recently-played songs. The box can be floated to the left or right of the page, and text will wrap around it. You can also adjust the colors, specify the width, selected the number of songs to list, and hide the artist photos.

Usage:

Just enter the following in your page: {{JW_RecentSongs}}
If you'd like to control the position or colors, provide some additional parameters, described below. The parameters must be separated with a "|" pipe characters.

Parameters:

  1. Box Float Position: left, right, or none
  2. Background Color of Header: a color name or number
  3. Background Color of Header Text: a color name or number
  4. Background Color of Table: a color name or number
  5. Width (in pixels): a number
  6. Number of songs to display: a number
  7. Display photos: none or inline

Examples:

  • {{JW_RecentSongs}}
  • {{JW_RecentSongs|right|maroon|white|Ghostwhite|150|4|inline}}
  • {{JW_RecentSongs |left|skyblue|#0000FF|wheat|225|3|none}}
  • {{JW_RecentSongs ||||||10|none}}

Notes:

  • The parameters are optional. If omitted, they default to these settings: none|lightgray|black|white|300|10|inline.
  • Depending on the content, the table may expand to a width larger than you specify.

Questions and/or Comments:

Personal tools
0.30 secs to build