Template talk:RankedMedalTable
From Wikipedia, the free encyclopedia
[edit] Sortable?
Is it a good idea? --Howard the Duck 13:28, 8 August 2007 (UTC)
- There are tradeoffs. See, for instance, 2007 Pan American Games medal count, which uses a variant of this which is sortable. The sortable table doesn't handle rowspans well, which makes showing ties a little less nice. The "rank" column is typically input manually, so wouldn't be in order after the table was sorted by anything other than the default (there may be some way of fixing this, but I don't know it). It also precludes the use of a total row, unless there's some way of marking rows as non-sorting that I don't know of.
- On the other hand, it would help deal with the arguments about whether to sort by gold or by total medals. And being able to sort alphabetically is nice as well. -- Jonel (Speak to me) 13:55, 8 August 2007 (UTC)
-
-
- Well, I think the Pan American count shows that sortable can work and we'd just need to clean up the rowspans to be individual cells. If you want more input, I'd recommend asking at WT:OLYMPICS. -- Jonel (Speak to me) 14:17, 8 August 2007 (UTC)
-
- I made it optional; now the problem is the "bronze" row wraps. See FIBA Asia Championship#Performances by nation for example. --Howard the Duck 14:30, 8 August 2007 (UTC)
-
- Looks like just a problem with the width parameters. Making the columns a bit wider ought to fix that. -- Jonel (Speak to me) 14:42, 8 August 2007 (UTC)
-
-
-
- Yeah, making the column headings fit on one row does make the columns a good deal wider than they need to be for the body. I have no idea how to solve that problem, though. -- Jonel (Speak to me) 14:54, 8 August 2007 (UTC)
-
-
[edit] Left-align
Nearly every example of tables using this template left-align the nations column. Is there a way to do this in the template itself? SeveroTC 01:15, 17 December 2007 (UTC)