Talk:2009–10 Tulane Green Wave women's basketball team

Latest comment: 14 years ago by Sphilbrick in topic Sortable roster

Sortable roster edit

FYI – I made the roster a sortable table. In order to make names sort by last name, make class sort in the expected way, and make heights sort the expected way, I added expressions like the following:

  • <span style="display:none">x</span>
  • For names, I replace “x” with the players last name.
  • For heights, I replaced “x” with zero, and used it for all inch values under 10.
  • For class, I replaced x with 1-4, as expected. I didn’t worry about distinguishing redshirt freshman from freshman, but this approach will list redshirt freshman after freshman, as seems appropriate. It wouldn’t work for sophs, if that troubles someone they can adjust accordingly.

The upside is that the table is now sortable, the downside is that if the table is not complete or in error, someone adding it might not see exactly what to do. This note should help.--SPhilbrickT 16:16, 23 June 2009 (UTC)Reply