Template talk:Figure skating detailed results

Latest comment: 1 year ago by Bgsu98 in topic New template for detailed result tables

New template for detailed result tables

edit

The old layout of result tables for the skater's scores has become obsolete regarding accessibility and other issues. So I developed a new template that satisfies all current criteria of the Wiki Manual of Style and is easy to edit with a short markup code, as tested on the pages of Johnny Weir, Yuna Kim, Tessa Virtue, and Yuzuru Hanyu. What is especially attractive about this template is that you no longer have to bother with stuff like text alignment or background colors for podium placements. The template automatically interpretes a "3" in the placement cell as a bronze medal and colors the cell accordingly.

Sure, it would be an awful lot of work to change all existing result tables. However, if we want to promote more skater biographies to featured article class, this change will be required anyways (as we could see in the cases of Hanyu and Weir). So I think it's good to have a powerful tool that is easy to use. It also unburdens the articles massively in size. Virtue's page has become about 5 kB shorter, Hanyu's career achievement list even 10 kB.

If you notice any bugs with the use of this template or have suggestions for additional parameters, please share them here.
Henni147 (talk) 16:17, 8 March 2023 (UTC)Reply

@Henni147, this table only allows for ten events. I have run into a situation where there are twelve events in one season - Matteo Rizzo (2017-18 season) - and I cannot figure out how to modify the template to allow for additional seasons, and I do not want to mess around with the template without knowing for sure what I'm doing. Bgsu98 (Talk) 00:31, 17 April 2023 (UTC)Reply
@Bgsu98: First of all, I apologize for the late reply. I was forced to stay inactive on Wiki for a while for private reasons. I have just updated the detailed result template with two additional rows, hope that this solves the problem. If there are any bugs, please report! Best wishes Henni147 (talk) 07:45, 7 June 2023 (UTC)Reply
@Henni147, thank you! I hope you are doing okay! Bgsu98 (Talk) 00:28, 8 June 2023 (UTC)Reply