Template talk:MedalistTable

wider first column
Sorry for just "adjusting" the size, I better would have opened this discussion here first. Anyways, you say the the column will expand by longer names, but as you can see at 2006 FILA Wrestling World Championships this is not the case. Can you help me out on this then? Cheers, SportsAddicted 23:53, 27 September 2006 (UTC)


 * No worries! I'm not sure what needs to be fixed on that page.  The event names all fit nicely.  Or, do you want to see some extra whitespace after the event names?  If so, then I think the best solution is to paramterize the width of the first column, rather than always forcing it to 200 pixels.  I've added the "labelwidth=" parameter in case you need it.
 * My point about the expansion was that if a long label was used (e.g. "1936 Garmisch-Partenkirchen"), then the column size will expand beyond 120 pixels to make it fit. But most event labels are reasonably short, so I'd prefer to keep the default size smaller so that there's not a huge amount of whitespace in most cases.  Andrwsc 01:18, 28 September 2006 (UTC)


 * The Greco-Roman 120 kg event places the kg on the next line right now, that's why I wanted to make it wider. Thanks for adding the parameter. I'm going to check out wether it works or not. I see your point also and I agree with you as well, just didn't want to create a total new template just for a wider column. SportsAddicted 02:11, 28 September 2006 (UTC)
 * Hmmm, it's probably working (I believe you), but I don't know what to do to make the first column in the article above wider using the parameter. Can you or someone else do it for me so I can see what to do next time? Thanks. SportsAddicted 02:19, 28 September 2006 (UTC)
 * I added the "width=180" parameter to change the widths of the three medal columns and "labelwidth=160" to change the first column &mdash; let me know if that is what you had in mind. Andrwsc 04:28, 28 September 2006 (UTC)
 * Yes, this was what I meant, thanks for helping me out. SportsAddicted 10:01, 28 September 2006 (UTC)
 * You're welcome! HTML tables can be rather "fussy" trying to get them to render nicely at a variety of display resolutions.  There is another trick you might try to keep an event label from splitting to two lines.  Use "&amp;nbsp;" (non-breaking space) instead of a normal space character between words, and use "&amp;#x2011;" (non-breaking hyphen) instead of a normal hyphen.  (For example, "Greco&#x2011;Roman 120 kg").  That way, you don't have to guess how many pixels to use for the column width.  Alternately, you could decide to make all labels fit on two lines (e.g. put Greco-Roman or Freestyle on the first line and the weight class on the second line, using "&lt;br&gt;" between the words.  Lastly, you could make two tables, one with Greco-Roman results and one with Freestyle results, and just use the weight class label in the table cell.  We use that approach on pages like Athletics at the 2004 Summer Olympics, where there are separate tables for Men's & Women's results, so that "Men's" or "Women's" does not have to be part of the label string.  It also makes it easier to navigate through a long list of events.  Hope this helps!  Andrwsc 16:47, 28 September 2006 (UTC)
 * It certainly does help, thanks for that. I used to do lots of these tables on the nl.wiki, but on the en.wiki there are sometimes totally different templates in use, which doesn't make it easier when you're used to do it in another way. I follow almost every sport and it became hard to manually add them to the Dutch wiki all by myself, so I decided to join the en.wiki as here are much more sports minded people to help me out. SportsAddicted 20:13, 28 September 2006 (UTC)

Documentation and Sports Result table deprecation (?)
I've added full documentation on how to use this template. I've been using it for some time now and the fact that I only discovered the "labelwidth" option today is quite indicative of general level of understanding.

In the documentation process it became clear that Template:Sports result table is pretty much redundant. I'm of the strong opinion that the MedalistTable template is aesthetically superior on all fronts. The only missing option was a simple "font size" change: "Sports results table" uses 95%. I have now added this feature so fonts, and therefore tables, can be increased or reduced in size where necessary.

What do others think about this? I'm happy to do a changeover from "sports results table" to "MedalistTable" if anyone else agrees. Sillyfolkboy (talk) (edits) Join WikiProject Athletics!  18:35, 5 October 2009 (UTC)
 * I'd certainly support that. But I'm not sure you need to (ever?) use the fontsize parameter.  All the instances of Template:Sports result table that I remember seeing with 95% are somewhat gratuitous and unnecessary.  — Andrwsc (talk · contribs) 18:51, 5 October 2009 (UTC)
 * Perhaps, but the default is 100 anyway, so simply omitting the font size option will give the usual result. I'd rather leave the option just in case there is a decent use for it that I haven't yet seen. When there are results in excess on one page, 1998 Commonwealth Games for instance, then it reduces overall length. All those results should be on their own page, but that's another clean up task... Sillyfolkboy (talk) (edits) Join WikiProject Athletics!  12:18, 6 October 2009 (UTC)
 * Ah, ok, I had inferred that you were planning to replace all the instances of Sports result table with MedalistTable using 95% font. But if you replace with the standard font size, I'm all in favor of your plan!  — Andrwsc (talk · contribs) 16:07, 6 October 2009 (UTC)
 * Sorry about that, I'm not advocating a font size decrease! Quite the opposite, this template will actually mean an increase. And with good reason. Sillyfolkboy (talk) (edits) Join WikiProject Athletics!  19:45, 6 October 2009 (UTC)

Ordinal
Hi there! I see you've recently added an "ordinal" option to the template. What was your reasoning on the strange colouring? Was it just your own preference? I was thinking of either removing the colouring all together (as the colour/position link isn't obvious) or using the normal gold/silver/bronze colouring to evoke the traditional finishing medal colours. Any thoughts? SFB 14:41, 17 January 2015 (UTC)


 * I'm not sure I understand your question.
 * If they are medals, they should be gold, silver, and bronze:


 * If they are ribbons, they should be first, second, and third:


 * I chose the colors based on Blue_ribbon. I remember that I did want to expand it further into a 'prize' parameter that would except "medals", "ribbons-US", "ribbons-CA", etc... I never did get back to that. —   15:09, 17 January 2015 (UTC)
 * Interesting...this ribbon stuff is entirely new to me. Obviously this is a cultural difference. On that basis, I think it's probably better to split up the ribbon colouring from the ordinal option, i.e. have a "ribbon" option which has the colours and the ordinals, as well as an "ordinal" option that has no colouring and ordinals. I can think of many many uses for the latter without the colouring. How many "ordinal" transclusions do we have do you know? I presume this is something only a handful of people have used so far specifically for ribbons? It's also worth bearing in mind that this colouring is potentially confusing for our Canadian colleagues SFB 19:54, 17 January 2015 (UTC)
 * Done? —  20:27, 17 January 2015 (UTC)
 * I've tweaked and simplified it so that there is just one parameter for both: "style". Options are "ordinal" for plain colours with ordinals, "ribbon-US" for the blue/red/yellow schema with ordinals, "ribbon-CA" for the red/blue/white schema with ordinals, and "medal" (or default) for the usual gold/silver/bronze. Do you mind if I do a bit of clean up around the current "ordinal" parameter usages before implementation? I should be able to force a category from the current template to find where that parameter is used. SFB 13:41, 18 January 2015 (UTC)
 * , I don't mind at all. Let me know if you need any help with anything. Might also want to add a state option to make it easy to collapse (Collapsible option). :) —   15:48, 18 January 2015 (UTC)

Remove categories
I moved the categories to the documentation page so please remove from the main template as I have done on the sandbox. Thank you. 203.111.197.204 (talk) 07:31, 10 June 2017 (UTC)
 * Yes check.svg Done —&thinsp;JJMC89&thinsp; (T·C) 21:37, 10 June 2017 (UTC)

Add TfM template
Please add the following to the top of the template in accordance with the procedure at WP:TfD: BasicMedalTable --Bsherr (talk) 23:49, 2 November 2018 (UTC)
 * Yes check.svg Done —&thinsp;JJMC89&thinsp; (T·C) 07:26, 3 November 2018 (UTC)